Sets a user’s current presence as joinable. Use this method to update a user’s joinability as it changes. For example, when the game starts, the lobby becomes full, the user moves to a private, non joinable instance while keeping all other GroupPresence parameters (i.e ovr_GroupPresenceOptions_SetDestinationApiName, ovr_GroupPresenceOptions_SetLobbySessionId, ovr_GroupPresenceOptions_SetMatchSessionId) the same. Setting a user’s destination is required to enable travel from the Meta Quest Platform to your app. Note: Instead of using this individual API, we recommend setting all GroupPresence information with the
ovr_GroupPresence_Set() method and its associated parameters to simply managing all presence information. This helps ensure that all relevant presence information is singularly updated and helps reduce presence errors.
Parametersis_joinableIf ovr_GroupPresenceOptions_SetIsJoinable is true, the user can invite others to join them. If false, other users cannot join this user, for example, if the current session is full or only the host can invite others and the current user is not the host.
A message with type
ovrMessage_GroupPresence_SetIsJoinable 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!