Please Select Your Location

Thailand
Australia
Österreich
België
Canada
Canada - Français
中国
Česká republika
Denmark
Deutschland
France
HongKong
Iceland
India
Ireland
Italia
日本
Korea
Latvija
Lietuva
Lëtzebuerg
Malaysia
Malta
Mexico
Nederland
New Zealand
Norge
Polska
Portugal
Russia
Saudi Arabia
Singapore
Southeast Asia
España
Suisse
Suomi
Sverige
台灣
Ukraine
United Kingdom
United States
Việt Nam
المملكة العربية السعودية (Arabic)

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.