Note: This feature is only available for apps that target Quest devices.
ovr_User_LaunchFriendRequestFlow()
ovr_LaunchFriendRequestFlowResult_GetDidSendRequest
and ovr_LaunchFriendRequestFlowResult_GetDidCancel
to get the results of the viewer’s actions from the deeplink.ovr_LaunchFriendRequestFlowResult_GetDidSendRequest
ovr_LaunchFriendRequestFlowResult_GetDidCancel
ovr_User_LaunchFriendRequestFlow
is called may be different. The table below details such situations and what the user will see.Situation | Description | Result Feedback |
---|---|---|
Viewer tries to send a follow request to themselves | The viewer will receive a message indicating that this is not supported. Selecting Back returns the viewer to their app. | LaunchFriendRequestFlowResult_GetDidSendRequest : false LaunchFriendRequestFlowResult_GetDidCancel : true |
Viewer tries to send a follow request to someone that they are already following | The viewer will receive a message informing them that they are already following them. Selecting Back returns the viewer to their app. | LaunchFriendRequestFlowResult_GetDidSendRequest : false LaunchFriendRequestFlowResult_GetDidCancel : true |
Viewer tries to send a follow request to someone they already sent a pending follow request | The viewer will receive a message informing them that they have already sent a follow request to that user. Selecting Back returns the viewer to their app. | LaunchFriendRequestFlowResult_GetDidSendRequest : false LaunchFriendRequestFlowResult_GetDidCancel : true |
Viewer tries to send a follow request to someone they already have a pending request from | The viewer will receive a message informing them of the pending follow request. From there, they can select Accept to accept the received follow request and return to their app, or they can select Cancel to return to their app without accepting or denying the follow request. | On Accept: LaunchFriendRequestFlowResult_GetDidSendRequest : false LaunchFriendRequestFlowResult_GetDidCancel : false On Cancel:LaunchFriendRequestFlowResult_GetDidSendRequest : false LaunchFriendRequestFlowResult_GetDidCancel : true |
Viewer tries to send a follow request to someone they blocked previously | The viewer will receive a message informing them of the situation and asking whether they would like to unblock the target user and send a follow request. If the viewer selects Unblock and Send, the target user is unblocked, a follow request is sent, and the user is returned to their app. Otherwise, selecting Back will return the viewer to their app. | On Unblock and Send: LaunchFriendRequestFlowResult_GetDidSendRequest : true LaunchFriendRequestFlowResult_GetDidCancel : false On Back:LaunchFriendRequestFlowResult_GetDidSendRequest : false LaunchFriendRequestFlowResult_GetDidCancel : true |
Viewer tries to send a follow request to someone that has blocked them previously | The user will receive the following message: We cant show you this person right now. Please try again later. | LaunchFriendRequestFlowResult_GetDidSendRequest : false LaunchFriendRequestFlowResult_GetDidCancel : true |
The follow request cannot be sent for some other reason | The user will receive the following message: We cant show you this person right now. Please try again later. | LaunchFriendRequestFlowResult_GetDidSendRequest : false LaunchFriendRequestFlowResult_GetDidCancel : true |