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

ovr_GroupPresence_LaunchInvitePanel Function

Launches the system invite dialog with a roster of eligible users for the current user to invite to the app. It is recommended that you surface a button in your UI that triggers this dialog when a user is joinable. ovrMessage_GroupPresence_LaunchInvitePanel will be generated in response.
First call ovr_Message_IsError() to check if an error occurred.
If no error occurred, the message will contain a payload of type ovrInvitePanelResultInfoHandle. Extract the payload from the message handle with ovr_Message_GetInvitePanelResultInfo().

Signature

ovrRequest ovr_GroupPresence_LaunchInvitePanel(ovrInviteOptionsHandle options)

Parameters

options: ovrInviteOptionsHandle It contains two methods. 1. ovr_InviteOptions_AddSuggestedUser() - Takes the userID as a parameter and adds it to the inevitable users list. 2. ovr_InviteOptions_ClearSuggestedUsers() - Clears the inevitable users list.

Returns