API reference

LaunchFriendRequestFlowResult Class

Users can initiate follow requests to other users encountered in the app by launching the process from within the app. After the follow request has been sent via a deeplinked modal, the viewer is returned to the app. Users may find this process more convenient than using the Meta Quest mobile app or returning to Meta Horizon Home to send follow requests since it is less disruptive to the app experience they are currently focused on. You can retrieve it using com.meta.horizon.platform.ovr.requests.Users#launchFriendRequestFlow(long userID).

Constructors

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

Methods

getDidCancel ()
User can choose to cancel the friend request flow after sending it. You can use this to check whether the viewer chose to cancel the friend request flow.
Signature
boolean com.meta.horizon.platform.ovr.models.LaunchFriendRequestFlowResult.getDidCancel()
Returns
boolean  boolean
getDidSendRequest ()
Whether the viewer successfully sent the friend request.
Signature
boolean com.meta.horizon.platform.ovr.models.LaunchFriendRequestFlowResult.getDidSendRequest()
Returns
boolean  boolean