ovr_User_Get ( ovrID userID ) | |
ovr_User_GetNextUserArrayPage ( ovrUserArrayHandle handle ) | |
ovr_User_GetOrgScopedID ( ovrID userID ) | |
ovr_User_LaunchBlockFlow ( ovrID userID ) | |
ovr_User_LaunchFriendRequestFlow ( ovrID userID ) | |
ovr_User_LaunchUnblockFlow ( ovrID userID ) |
ovrRequest ovr_User_Get ( ovrID userID ) |
---|
Retrieve the user with the given ID. This might fail if the ID is invalid or the user is blocked. NOTE: Users will have a unique ID per application. Parameters
A message with type ovrMessage_User_Get will be generated in response.userID User ID retrieved with this application. First call ovr_Message_IsError() to check if an error occurred. If no error occurred, the message will contain a payload of type ovrUserHandle. Extract the payload from the message handle with ovr_Message_GetUser(). |
ovrRequest ovr_User_GetAccessToken ( ) |
---|
Return an access token for this user, suitable for making REST calls against graph.oculus.com. A message with type ovrMessage_User_GetAccessToken will be generated in response. First call ovr_Message_IsError() to check if an error occurred. If no error occurred, the message will contain a payload of type const char *. Extract the payload from the message handle with ovr_Message_GetString(). |
ovrRequest ovr_User_GetBlockedUsers ( ) |
---|
Return the IDs of users entitled to use the current app that are blocked by the specified user A message with type ovrMessage_User_GetBlockedUsers will be generated in response. First call ovr_Message_IsError() to check if an error occurred. If no error occurred, the message will contain a payload of type ovrBlockedUserArrayHandle. Extract the payload from the message handle with ovr_Message_GetBlockedUserArray(). |
ovrRequest ovr_User_GetLoggedInUser ( ) |
---|
Retrieve the currently signed in user. This call is available offline. NOTE: This will not return the user's presence as it should always be 'online' in your application. NOTE: Users will have a unique ID per application. Error codes
A message with type ovrMessage_User_GetLoggedInUser will be generated in response. First call ovr_Message_IsError() to check if an error occurred. If no error occurred, the message will contain a payload of type ovrUserHandle. Extract the payload from the message handle with ovr_Message_GetUser(). |
ovrRequest ovr_User_GetLoggedInUserFriends ( ) |
---|
Retrieve a list of the logged in user's bidirectional followers. A message with type ovrMessage_User_GetLoggedInUserFriends will be generated in response. First call ovr_Message_IsError() to check if an error occurred. If no error occurred, the message will contain a payload of type ovrUserArrayHandle. Extract the payload from the message handle with ovr_Message_GetUserArray(). |
ovrRequest ovr_User_GetNextBlockedUserArrayPage ( ovrBlockedUserArrayHandle handle ) |
---|
Get the next page of entries A message with type ovrMessage_User_GetNextBlockedUserArrayPage will be generated in response. First call ovr_Message_IsError() to check if an error occurred. If no error occurred, the message will contain a payload of type ovrBlockedUserArrayHandle. Extract the payload from the message handle with ovr_Message_GetBlockedUserArray(). |
ovrRequest ovr_User_GetNextUserArrayPage ( ovrUserArrayHandle handle ) |
---|
Get the next page of entries A message with type ovrMessage_User_GetNextUserArrayPage will be generated in response. First call ovr_Message_IsError() to check if an error occurred. If no error occurred, the message will contain a payload of type ovrUserArrayHandle. Extract the payload from the message handle with ovr_Message_GetUserArray(). |
ovrRequest ovr_User_GetNextUserCapabilityArrayPage ( ovrUserCapabilityArrayHandle handle ) |
---|
Get the next page of entries A message with type ovrMessage_User_GetNextUserCapabilityArrayPage will be generated in response. First call ovr_Message_IsError() to check if an error occurred. If no error occurred, the message will contain a payload of type ovrUserCapabilityArrayHandle. Extract the payload from the message handle with ovr_Message_GetUserCapabilityArray(). |
ovrRequest ovr_User_GetOrgScopedID ( ovrID userID ) |
---|
returns an ovrID which is unique per org. allows different apps within the same org to identify the user. Parameters
A message with type ovrMessage_User_GetOrgScopedID will be generated in response.userID to load the org scoped id of First call ovr_Message_IsError() to check if an error occurred. If no error occurred, the message will contain a payload of type ovrOrgScopedIDHandle. Extract the payload from the message handle with ovr_Message_GetOrgScopedID(). |
ovrRequest ovr_User_GetSdkAccounts ( ) |
---|
Returns all accounts belonging to this user. Accounts are the Oculus user and x-users that are linked to this user. A message with type ovrMessage_User_GetSdkAccounts will be generated in response. First call ovr_Message_IsError() to check if an error occurred. If no error occurred, the message will contain a payload of type ovrSdkAccountArrayHandle. Extract the payload from the message handle with ovr_Message_GetSdkAccountArray(). |
ovrRequest ovr_User_GetUserProof ( ) |
---|
Part of the scheme to confirm the identity of a particular user in your backend. You can pass the result of ovr_User_GetUserProof() and a user ID from ovr_User_Get() to your your backend. Your server can then use our api to verify identity. 'https://graph.oculus.com/user_nonce_validate?nonce=USE R_PROOF&user_id=USER_ID&access_token=ACCESS_TOKEN' NOTE: The nonce is only good for one check and then it is invalidated. A message with type ovrMessage_User_GetUserProof will be generated in response. First call ovr_Message_IsError() to check if an error occurred. If no error occurred, the message will contain a payload of type ovrUserProofHandle. Extract the payload from the message handle with ovr_Message_GetUserProof(). |
ovrRequest ovr_User_LaunchBlockFlow ( ovrID userID ) |
---|
Launch the flow for blocking the given user. You can't follow, be followed, invited, or searched by a blocked user, for example. You can remove the block via ovr_User_LaunchUnblockFlow. Parameters
A message with type ovrMessage_User_LaunchBlockFlow will be generated in response.userID User ID of user being blocked First call ovr_Message_IsError() to check if an error occurred. If no error occurred, the message will contain a payload of type ovrLaunchBlockFlowResultHandle. Extract the payload from the message handle with ovr_Message_GetLaunchBlockFlowResult(). |
ovrRequest ovr_User_LaunchFriendRequestFlow ( ovrID userID ) |
---|
Launch the flow for sending a follow request to a user. Parameters
A message with type ovrMessage_User_LaunchFriendRequestFlow will be generated in response.userID User ID of user to send a follow request to First call ovr_Message_IsError() to check if an error occurred. If no error occurred, the message will contain a payload of type ovrLaunchFriendRequestFlowResultHandle. Extract the payload from the message handle with ovr_Message_GetLaunchFriendRequestFlowResult(). |
ovrRequest ovr_User_LaunchUnblockFlow ( ovrID userID ) |
---|
Launch the flow for unblocking a user that the viewer has blocked. Parameters
A message with type ovrMessage_User_LaunchUnblockFlow will be generated in response.userID User ID of user to unblock First call ovr_Message_IsError() to check if an error occurred. If no error occurred, the message will contain a payload of type ovrLaunchUnblockFlowResultHandle. Extract the payload from the message handle with ovr_Message_GetLaunchUnblockFlowResult(). |