LicenseChecker
Callback definition
Inherited from the LicenseChecker class, used for license check callback functions in the DRM API.
void public abstract class LicenseChecker { public abstract void OnSuccess(long issueTime, long expirationTime, int latestVersion, bool updateRequired); public abstract void OnFailure(int errorCode, string errorMessage); }
OnSuccess()
public abstract void OnSuccess(long issueTime, long expirationTime, int latestVersion, bool updateRequired);
Name | Type | Description |
issueTime | long | License issue time |
expirationTime | long | License expiration time |
latestVersion | int | Latest License Version (Deprecated) |
updateRequired | bool | Update Required (Deprecated) |
This callback means that
CheckLicense()
has succeeded, and that the end user is authorized to run the title or content. If stricter licensing is needed, licenses can be issued with shorter expiration times.
OnFailure()
public abstract void OnFailure(int errorCode, string errorMessage);
Name | Type | Description |
errorCode | int | Error codes from DRM API |
errorMessage | string | Error message |
This callback is for a DRM verification failure. It is recommended to show the end user an error message and then close the title.