Oculus.Platform.RichPresenceOptions Class Reference

Public Member Functions

 RichPresenceOptions ()
 
void SetApiName (string value)
 This the unique API Name that refers to an in-app destination. More...
 
void SetCurrentCapacity (uint value)
 
void SetDeeplinkMessageOverride (string value)
 
void SetEndTime (DateTime value)
 The time the current match/game/round etc. ends. More...
 
void SetExtraContext (RichPresenceExtraContext value)
 
void SetInstanceId (string value)
 
void SetIsIdle (bool value)
 Set whether or not the person is shown as active or idle. More...
 
void SetIsJoinable (bool value)
 
void SetMaxCapacity (uint value)
 The maximum that can join this user. More...
 
void SetStartTime (DateTime value)
 The time the current match/game/round etc. started. More...
 

Static Public Member Functions

static operator IntPtr (RichPresenceOptions options)
 For passing to native C. More...
 

Constructor & Destructor Documentation

◆ RichPresenceOptions()

Oculus.Platform.RichPresenceOptions.RichPresenceOptions ( )

Member Function Documentation

◆ operator IntPtr()

static Oculus.Platform.RichPresenceOptions.operator IntPtr ( RichPresenceOptions  options)
explicitstatic

For passing to native C.

◆ SetApiName()

void Oculus.Platform.RichPresenceOptions.SetApiName ( string  value)

This the unique API Name that refers to an in-app destination.

◆ SetCurrentCapacity()

void Oculus.Platform.RichPresenceOptions.SetCurrentCapacity ( uint  value)

The current amount of users that have joined this user's squad/team/game/match etc.

◆ SetDeeplinkMessageOverride()

void Oculus.Platform.RichPresenceOptions.SetDeeplinkMessageOverride ( string  value)

Optionally passed in to use a different deeplink message than the one defined in the api_name

◆ SetEndTime()

void Oculus.Platform.RichPresenceOptions.SetEndTime ( DateTime  value)

The time the current match/game/round etc. ends.

◆ SetExtraContext()

void Oculus.Platform.RichPresenceOptions.SetExtraContext ( RichPresenceExtraContext  value)

◆ SetInstanceId()

void Oculus.Platform.RichPresenceOptions.SetInstanceId ( string  value)

Users reported with the same instance ID will be considered to be together and could interact with each other. Renamed to RichPresenceOptions.SetInstanceId()

◆ SetIsIdle()

void Oculus.Platform.RichPresenceOptions.SetIsIdle ( bool  value)

Set whether or not the person is shown as active or idle.

◆ SetIsJoinable()

void Oculus.Platform.RichPresenceOptions.SetIsJoinable ( bool  value)

Set whether or not the person is shown as joinable or not to others. A user that is joinable can invite others to join them. Set this to false if other users would not be able to join this user. For example: the current session is full, or only the host can invite others and the current user is not the host.

◆ SetMaxCapacity()

void Oculus.Platform.RichPresenceOptions.SetMaxCapacity ( uint  value)

The maximum that can join this user.

◆ SetStartTime()

void Oculus.Platform.RichPresenceOptions.SetStartTime ( DateTime  value)

The time the current match/game/round etc. started.


The documentation for this class was generated from the following file: