API reference
API reference
Select your platform
No SDKs available
No versions available

ovr_GroupPresence_SetLobbySession Function

Replaces the user's current ovr_GroupPresenceOptions_SetLobbySessionId for the provided string. Use this to set a user's current lobby session id while keeping all other GroupPresence parameters the same. Setting a user's lobby session id is required to enable travel from the Meta Quest Platform to your app. Check Group presence overview for more information. NOTE instead of using the standalone API, we recommend setting all GroupPresence parameters in one call to ovr_GroupPresence_Set(). This helps ensure that all relevant presence information is singularly updated and helps reduce presence errors. ovrMessage_GroupPresence_SetLobbySession will be generated in response.
First call ovr_Message_IsError() to check if an error occurred.
This response has no payload. If no error occurred, the request was successful. Yay!

Signature

ovrRequest ovr_GroupPresence_SetLobbySession(const char *id)

Parameters

id: const char * id is the unique identifier of the lobby session to set, replacing the user's current ovr_GroupPresenceOptions_SetLobbySessionId.

Returns