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

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 .