API reference

Parties Class

The party API allows you to retrieve information about parties and manage various interactions between users and their respective com.meta.horizon.platform.ovr.models.Party. Calling com.meta.horizon.platform.ovr.requests.Parties#getCurrent() with a party ID will grab the Party object and the associated metadata.

Static Methods

getCurrent ()
Load the current party the current com.meta.horizon.platform.ovr.models.User is in. The returned com.meta.horizon.platform.ovr.models.Party will then contain information about other users in the party and invited users.
Signature
static Request<com.meta.horizon.platform.ovr.models.Party> com.meta.horizon.platform.ovr.requests.Parties.getCurrent()
setPartyUpdateNotificationCallbacks ( onSuccess , onError )
Indicates that party has been updated. This will return a com.meta.horizon.platform.ovr.models.PartyUpdateNotification object.
Signature
static void com.meta.horizon.platform.ovr.requests.Parties.setPartyUpdateNotificationCallbacks(Request.Handler< PartyUpdateNotification > onSuccess, Request.Handler< Error > onError)
Parameters
onSuccess: Request.Handler< PartyUpdateNotification >
onError: Request.Handler< Error >
Returns
void