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

Destination Class

The destination represents where the user would like to go to in the app. It's usually associated with a travel or an invitation. Each destination has com.meta.horizon.platform.ovr.models.Destination#getApiName(), com.meta.horizon.platform.ovr.models.Destination#getDisplayName(), com.meta.horizon.platform.ovr.models.Destination#getDeeplinkMessage() and com.meta.horizon.platform.ovr.models.Destination#getShareableUri() link. Please refer to member data documentation for details.

Constructors

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

Methods

getApiName ()
You can pass it into com.meta.horizon.platform.ovr.options.GroupPresenceOptions#setDestinationApiName(String) when calling com.meta.horizon.platform.ovr.requests.GroupPresence#set(GroupPresenceOptions groupPresenceOptions) to set this user's group presence.
Signature
String com.meta.horizon.platform.ovr.models.Destination.getApiName()
Returns
String  String
getDeeplinkMessage ()
The information that will be in com.meta.horizon.platform.ovr.models.LaunchDetails#getDeeplinkMessage() when a user enters via a deeplink. Alternatively will be in com.meta.horizon.platform.ovr.models.User#getPresenceDeeplinkMessage() if the rich presence is set for the user.
Signature
String com.meta.horizon.platform.ovr.models.Destination.getDeeplinkMessage()
Returns
String  String
getDisplayName ()
A displayable string of the destination name and it can be retrieved with com.meta.horizon.platform.ovr.models.Destination#getDisplayName().
Signature
String com.meta.horizon.platform.ovr.models.Destination.getDisplayName()
Returns
String  String
getShareableUri ()
A URI that allows the user to deeplink directly to this destination
Signature
String com.meta.horizon.platform.ovr.models.Destination.getShareableUri()
Returns
String  String