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

Parties Class

The party API allows you to retrieve information about parties and manage various interactions between users and their respective Models.Party. Calling Parties.GetCurrent() with a party ID will grab the Party object and the associated metadata.

Static Methods

GetCurrent ()
Load the current party the current Models.User is in. The returned Models.Party will then contain information about other users in the party and invited users. If the user is not currently in a party, the request will return an error message with code 10.
Signature
static Request<Models.Party> Oculus.Platform.Parties.GetCurrent()
SetPartyUpdateNotificationCallback ( callback )
Indicates that party has been updated. This will return a Models.PartyUpdateNotification object.
Signature
static void Oculus.Platform.Parties.SetPartyUpdateNotificationCallback(Message< Models.PartyUpdateNotification >.Callback callback)
Returns
void