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

IsReady()

void IsReady(SessionListener listener);

Name

Type

Description

listener

SessionListener

Callback function

Initializes the Arcade Session API. Call this before calling any other functions in this API or starting a session. When completed, the callback listener.OnSuccess() will retrieve the app ID as string pchAppID .

If initialization fails, listener.OnFailure() will retrieve error code int nCode and error message string pchMessage .

Start()

void Start(SessionListener listener)

Name

Type

Description

listener

SessionListener

Callback function

Starts an arcade session. When completed, listener.OnStartSuccess() will retrieve the app ID as string pchAppID and a unique session GUID string pchGuid .

If Start() fails, listener.OnFailure() will retrieve error code int nCode and error message string pchMessage .

Stop()

void Stop(SessionListener listener)

Name

Type

Description

listener

SessionListener

Callback function

Stops an arcade session. When completed, listener.OnStopSuccess() will retrieve the app ID as string pchAppID and a unique session GUID string pchGuid which should match that of listener.OnStartSuccess() .

If Stop() fails, listener.OnFailure() will retrieve error code int nCode and error message string pchMessage .