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

ovr_GroupPresence_SetDestination Function

Replaces the user's current ovr_GroupPresenceOptions_SetDestinationApiName() with the provided one. Use this to set a user's current destination while keeping all the other Group Presence parameters the same. Setting a user's destination is required to enable travel from the Meta Quest Platform to your app. 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_SetDestination 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_SetDestination(const char *api_name)

Parameters

api_name: const char * api_name is the unique name of the in-app desination to set, replacing the user's current ovr_GroupPresenceOptions_SetDestinationApiName().

Returns