sessionStatus

The player returns the sessionStatus object type in the response to the createSession, joinSession, or joinOrCreateSession command and indicates whether the session was newly-created or already existing.

Parameters

See the table below for descriptions of parameters in this object.

ParameterTypeValue
sessionStatestringThe session state. This will always be SESSION_STATE_CONNECTED, to indicate that the player successfully created the session. If there is an error, your app will receive a sessionError . This parameter may be deprecated in a future release.
sessionIdstringIdentifies the session created or joined.
sessionCreatedBooleanIndicates whether your app joined a newly-created session or an existing session. If true, the player created a new session. If false, the player joined your app to an existing session.
customDatastringUp to 1023 bytes of additional data provided when the session was created. Text longer than 1023 bytes is truncated.