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

InviteOptions Class

The Invite Option, to be passed in to GroupPresence.GetInvitableUsers() and GroupPresence.LaunchInvitePanel(), is a field that allows developers to specify a list of suggested users to be added to the invitable users list, making it easier for users to connect with others and create a more social experience.

Constructors

InviteOptions ()
Creates a new instance of ::InviteOptions which is used to customize the option flow. It returns a handle to the newly created options object, which can be used to set various properties for the options.
Signature
Oculus.Platform.InviteOptions.InviteOptions()

Methods

AddSuggestedUser ( userID )
Passing in these users will add them to the invitable users list. From the GroupPresence.LaunchInvitePanel(), the user can open the invite list, where the suggested users will be added.
Signature
void Oculus.Platform.InviteOptions.AddSuggestedUser(UInt64 userID)
Parameters
userID: UInt64
Returns
void
ClearSuggestedUsers ()
This method clears the SuggestedUsers options associated with this instance, and the instance will be in its default state.
Signature
void Oculus.Platform.InviteOptions.ClearSuggestedUsers()
Returns
void

Static Methods

operator IntPtr ( options )
This operator allows you to pass an instance of the ::InviteOptions class to native C code as an IntPtr. The operator returns the handle of the options object, or IntPtr.Zero if the object is null.
Signature
static Oculus.Platform.InviteOptions.operator IntPtr(InviteOptions options)
Parameters
options: InviteOptions