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)

Callback: Session.SessionListener

Inherited from the Session class, used for session callback functions in the Arcade Session API.

void public class SessionListener 
{
public override void OnSuccess(string pchAppID)
public override void OnStartSuccess(string pchAppID, string pchGuid)
public override void OnStopSuccess(string pchAppID, string pchGuid)
public override void OnFailure(int nCode, string pchMessage)
}

OnSuccess()

void OnSuccess(string pchAppID) 

Name

Type

Description

pchAppID

string

VIVEPORT ID

Callback when IsReady() is successful. Retrieves the VIVEPORT ID of the title.

OnStartSuccess()

void OnStartSuccess(string pchAppID, string pchGuid) 

Name

Type

Description

pchAppID

string

VIVEPORT ID

pchGuid

string

Unique session GUID

Callback on successful completion of Start() . Retrieves the app ID as string pchAppID and a unique session GUID string pchGuid .

OnStopSuccess()

void OnStopSuccess(string pchAppID, string pchGuid) 

Name

Type

Description

pchAppID

string

VIVEPORT ID

pchGuid

string

Unique session GUID

Callback on successful completetion of Stop() . Retrieves the app ID as string pchAppID and a unique session GUID string pchGuid which should match that of listener.OnStartSuccess() .

OnFailure()

void OnFailure(int nCode, string pchMessage) 

Name

Type

Description

nCode

int

Error code

pchMessage

string

Error message

Callback on failure of any Arcade Session API function. Retrieves error code and error message.