Function usage
IsReady()
void IsReady(StatusCallback callback);
Name | Type | Description |
callback | StatusCallback | Callback function |
Initializes the Session Token API. Call this before getting a session token. The
nResult
of
callback
will return
0
on successful initialization. For other potential values, see
Error codes
.
GetSessionToken()
void GetSessionToken(StatusCallback2 callback)
Name | Type | Description |
callback | StatusCallback2 | Callback function |
Gets the session token. The
nResult
of
callback
will return
0
on successful initialization, and the token is stored in the
message
string of
callback
. In the event of an error,
nResult
will be an error code and
message
will contain an error message.