Function usage
GetLicense()
void GetLicense(LicenseChecker callback, string viveportId, string viveportKey);
Name | Type | Description |
callback | LicenseChecker | Callback function |
viveportId | string | VIVEPORT ID |
viveportKey | string | VIVEPORT Key |
Checks if the current account has a license to the content referred to by VIVEPORT ID and Key. If the account has a license, the validity will be specified by the
OnSuccess()
function of
LicenseChecker
. Otherwise,
OnFailure()
will provide an error code and error message.
Important
: VIVE WAVE developers need to modify
AndroidManifest.xml
to include the
com.viveport.CHECK_LICENSE
permission. See
VIVE WAVE permissions
for details.