JUCE  v5.1.1-3-g1a0b28c73
JUCE API
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 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 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 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 OnlineUnlockStatus::UnlockResult::succeeded

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

◆ urlToLaunch

String 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: