API reference

Party Class

Parties allow users to start a voice chat with other members of the party. Party voice chats persist across apps in VR and users can continue to interact while navigating between apps. You can use com.meta.horizon.platform.ovr.requests.Parties#getCurrent() to load the party the current user is in.

Constructors

Party ( ptr )
Signature
com.meta.horizon.platform.ovr.models.Party.Party(final long ptr)
Parameters
ptr: final long

Methods

getID ()
A unique identifier of this party.
Signature
long com.meta.horizon.platform.ovr.models.Party.getID()
Returns
long  long
getInvitedUsers ()
An array of users who are invited to this party. These users are not a part of the party yet but have been invited.
Signature
UserArray com.meta.horizon.platform.ovr.models.Party.getInvitedUsers()
getLeader ()
The user who initialized this party. It's also the first user who joined the party. The leader can invite and kick other users.
Signature
User com.meta.horizon.platform.ovr.models.Party.getLeader()
Returns
User User
getUsers ()
An array that contains the users who are currently in this party. These users will remain in the party while navigating between apps. Each user in the party will get the update by com.meta.horizon.platform.ovr.Message.MessageType#Notification_Party_PartyUpdate which is intended to update the user on various actions that are occurring in the party.
Signature
UserArray com.meta.horizon.platform.ovr.models.Party.getUsers()