JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::OnlineUnlockStatus::UnlockResult Struct Reference

This provides some details about the reply that the server gave in a call to attemptWebserverUnlock(). More...

#include <juce_OnlineUnlockStatus.h>

Collaboration diagram for juce::OnlineUnlockStatus::UnlockResult:

Public Attributes

String errorMessage
 If an unlock operation fails, this is the error message that the webserver supplied (or a message saying that the server couldn't be contacted) More...
 
String informativeMessage
 This is a message that the webserver returned, and which the user should be shown. More...
 
bool succeeded
 If the unlock operation succeeded, this will be set to true. More...
 
String urlToLaunch
 If the webserver wants the user to be directed to a web-page for further information, this is the URL that it would like them to go to. More...
 

Detailed Description

This provides some details about the reply that the server gave in a call to attemptWebserverUnlock().

Member Data Documentation

◆ errorMessage

String juce::OnlineUnlockStatus::UnlockResult::errorMessage

If an unlock operation fails, this is the error message that the webserver supplied (or a message saying that the server couldn't be contacted)

◆ informativeMessage

String juce::OnlineUnlockStatus::UnlockResult::informativeMessage

This is a message that the webserver returned, and which the user should be shown.

It's not necessarily an error message, e.g. it might say that there's a new version of the app available or some other status update.

◆ succeeded

bool juce::OnlineUnlockStatus::UnlockResult::succeeded

If the unlock operation succeeded, this will be set to true.

◆ urlToLaunch

String juce::OnlineUnlockStatus::UnlockResult::urlToLaunch

If the webserver wants the user to be directed to a web-page for further information, this is the URL that it would like them to go to.


The documentation for this struct was generated from the following file: