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)

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.