GetCloudDataAllowed

Description

Returns 1 if the cloud data commands are available to use. Returns 0 if the user hasn't decided whether to allow or block access yet, this will be prompted in SetupCloudData if applicable. Returns -1 if the user has specifically denied access. Returns -2 if the user is not logged in or the device does not have iCloud or Google Drive. You can prompt the user to login and enable these when your app first starts, or when they choose to enable cloud backup in your own app settings. If this command returns -3 on Android then the Google cloud data has become corrupted and must be cleared in the Drive settings.

Definition

integer GetCloudDataAllowed()