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

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.