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

OVRPlatformCppRequests.h File

Typedefs

Add 'count' to the achievement with the given name. This must be a COUNT achievement. The largest number that is supported by this method is the max value of a signed 64-bit integer. If the number is larger than that, it is clamped to that max value before being passed to the servers.Unlock fields of a BITFIELD achievement.
Parameters
Name
- The name of the achievement to unlock
Fields
- A string containing either '0' or '1' characters. Every '1' will unlock the field in the corresponding position.
Unlock the achievement with the given name. This can be of any achievement type.
Request all achievement definitions for the app.Request the achievement definitions that match the specified names.
Request the progress for the user on all achievements in the app.Request the user's progress on the specified achievements.
Cancel an app download that is in progress. It will return a result when the download is cancelled.Installs the app update that was previously downloaded. Once the install begins the application will exit automatically. After the installation process is complete, the app will be relaunched based on the options passed.
Parameters
DeeplinkOptions
- Additional configuration for this relaunch. Optional.
Starts an app download. It will return a result when the download is finished. Download progress can be monitored using the check_app_download_progress API.
Track download progress for an app
Requests version information, including the version code and version name of the currently installed app and version code, version name, size and release date of the latest app update
Launches a different application in the user's library. If the user does not have that application installed, they will be taken to that app's page in the Oculus Store
Parameters
AppID
- The ID of the app to launch
DeeplinkOptions
- Additional configuration for this requests. Optional.
Presenter data is used to drive a cowatching session. This can be called when there is an active cowatching session.Returns Device and Application Integrity Attestation JSON Web Token. The token has format of header.claims.signature encoded in base64. Header contains algorithm type (PS256) and token type (JWT).Return an access token for this user, suitable for making REST calls against graph.oculus.com.
DEPRECATED. Use AssetFile_DeleteById()Removes an previously installed asset file from the device by its ID. Returns an object containing the asset ID and file name, and a success flag.
Parameters
AssetFileID
- The asset file ID
Removes an previously installed asset file from the device by its name. Returns an object containing the asset ID and file name, and a success flag.
Parameters
AssetFileName
- The asset file name
DEPRECATED. Use AssetFile_DownloadById()Downloads an asset file by its ID on demand. Returns an object containing the asset ID and filepath. Sends periodic FOvrNotification_AssetFile_DownloadUpdate to track the downloads.
Parameters
AssetFileID
- The asset file ID
Downloads an asset file by its name on demand. Returns an object containing the asset ID and filepath. Sends periodic {notifications.asset_file.download_update}} to track the downloads.
Parameters
AssetFileName
- The asset file name
Sets the current language to specified. The parameter is the BCP47 language tag. If a language pack is not downloaded yet, spawns automatically the AssetFile_DownloadByName() request, and sends periodic FOvrNotification_AssetFile_DownloadUpdate to track the downloads. Once the language asset file is downloaded, call LanguagePack_GetCurrent() to retrive the data, and use the language at runtime.
Parameters
Tag
- BCP47 language tag
DEPRECATED. Use AssetFile_DownloadCancelById()Cancels a previously spawned download request for an asset file by its ID. Returns an object containing the asset ID and file path, and a success flag.
Parameters
AssetFileID
- The asset file ID
Cancels a previously spawned download request for an asset file by its name. Returns an object containing the asset ID and file path, and a success flag.
Parameters
AssetFileName
- The asset file name
Returns an array of objects with asset file names and their associated IDs, and and whether it's currently installed.
DEPRECATED. Use AssetFile_StatusById()Returns the details on a single asset: ID, file name, and whether it's currently installed
Parameters
AssetFileID
- The asset file ID
Returns the details on a single asset: ID, file name, and whether it's currently installed
Parameters
AssetFileName
- The asset file name
Returns currently installed and selected language pack for an app in the view of the asset_details. Use language field to extract neeeded language info. A particular language can be download and installed by a user from the Oculus app on the application page.
Launches the Avatar Editor
DEPRECATED. Use server-to-server API call instead.If the current user has an invite to the challenge, decline the inviteGets the information for a single challenge
Parameters
ChallengeID
- The id of the challenge whose entries to return.
If the current user has permission, join the challengeIf the current user has permission, leave the challenge
Requests a block of challenge entries.
Parameters
ChallengeID
- The id of the challenge whose entries to return.
Limit
- Defines the maximum number of entries to return.
Filter
- By using ovrLeaderboard_FilterFriends, this allows you to filter the returned values to bidirectional followers.
StartAt
- Defines whether to center the query on the user or start at the top of the challenge.
Requests a block of challenge entries.
Parameters
ChallengeID
- The id of the challenge whose entries to return.
Limit
- The maximum number of entries to return.
AfterRank
- The position after which to start. For example, 10 returns challenge results starting with the 11th user.
Requests a block of challenge entries. Will return only entries matching the user IDs passed in.
Parameters
ChallengeID
- The id of the challenge whose entries to return.
Limit
- Defines the maximum number of entries to return.
StartAt
- Defines whether to center the query on the user or start at the top of the challenge. If this is EOvrLeaderboardStartAt::CenteredOnViewer or EOvrLeaderboardStartAt::CenteredOnViewerOrTop, then the current user's ID will be automatically added to the query.
UserIDs
- Defines a list of user ids to get entries for.
UserIDLength
- The number of user IDs provided.
Requests for a list of challenge
Get the viewer data of everyone who is in a cowatching session whose data was set by Cowatching_SetViewerData(). This can be called when there is an active cowatching session.
Check whether the current user is in the current cowatching session.
Returns a list of users that can be invited to your current lobby. These are pulled from your bidirectional followers and recently met lists.Retrieve a list of the logged in user's bidirectional followers.
Get the application invites which have been sent by the user.
Launch the flow to allow the user to invite others to their current session. This can only be used if the user is in a joinable session.
Launch the dialog which will allow the user to rejoin a previous lobby/match. Either the lobby_session_id or the match_session_id, or both, must be populated.
Send application invites to the passed in userIDs.
Retrieve a list of IAP products that can be purchased.
Parameters
Skus
- The SKUs of the products to retrieve.
Count
- Number of items you provided in the SKUs.
Retrieve a list of Purchase that the Logged-In-User has made. This list will also contain consumable purchases that have not been consumed.Retrieve a list of Purchase that the Logged-In-User has made. This list will only contain durable purchase (non-consumable) and is populated from a device cache. It is recommended in all cases to use ovr_User_GetViewerPurchases first and only check the cache if that fails.
Launch the checkout flow to purchase the existing product. Oculus Home tries handle and fix as many errors as possible. Home returns the appropriate error message and how to resolveit, if possible. Returns a purchase on success, empty purchase on cancel, and an error on error.
Parameters
Sku
- IAP sku for the item the user wishes to purchase.
Gets the information for a single leaderboard
Parameters
LeaderboardName
- The name of the leaderboard to return.
Requests a block of leaderboard entries.
Parameters
LeaderboardName
- The name of the leaderboard whose entries to return.
Limit
- Defines the maximum number of entries to return.
Filter
- By using ovrLeaderboard_FilterFriends, this allows you to filter the returned values to bidirectional followers.
StartAt
- Defines whether to center the query on the user or start at the top of the leaderboard.
Requests a block of leaderboard entries.
Parameters
LeaderboardName
- The name of the leaderboard.
Limit
- The maximum number of entries to return.
AfterRank
- The position after which to start. For example, 10 returns leaderboard results starting with the 11th user.
Requests a block of leaderboard entries. Will return only entries matching the user IDs passed in.
Parameters
LeaderboardName
- The name of the leaderboard whose entries to return.
Limit
- Defines the maximum number of entries to return.
StartAt
- Defines whether to center the query on the user or start at the top of the leaderboard. If this is EOvrLeaderboardStartAt::CenteredOnViewer or EOvrLeaderboardStartAt::CenteredOnViewerOrTop, then the current user's ID will be automatically added to the query.
UserIDs
- Defines a list of user ids to get entries for.
UserIDLength
- The number of user IDs provided.
Writes a single entry to a leaderboard.
Parameters
LeaderboardName
- The leaderboard for which to write the entry.
Score
- The score to write.
ExtraData
- A 2KB custom data field that is associated with the leaderboard entry. This can be a game replay or anything that provides more detail about the entry to the viewer.
ExtraDataLength
- The length of the extra data.
ForceUpdate
- If true, the score always updates. This happens even if it is not the user's best score.
Writes a single entry to a leaderboard, can include supplementary metrics
Parameters
LeaderboardName
- The leaderboard for which to write the entry.
Score
- The score to write.
SupplementaryMetric
- A metric that can be used for tiebreakers.
ExtraData
- A 2KB custom data field that is associated with the leaderboard entry. This can be a game replay or anything that provides more detail about the entry to the viewer.
ExtraDataLength
- The length of the extra data.
ForceUpdate
- If true, the score always updates. This happens ecen if it is not the user's best score.
Launch the Share to Facebook modal via a deeplink to Home on Gear VR, allowing users to share local media files to Facebook. Accepts a postTextSuggestion string for the default text of the Facebook post. Requires a filePath string as the path to the image to be shared to Facebook. This image should be located in your app's internal storage directory. Requires a contentType indicating the type of media to be shared (only 'photo' is currently supported.)
Parameters
PostTextSuggestion
- this text will prepopulate the facebook status text-input box within the share modal
FilePath
- path to the file to be shared to facebook
ContentType
- content type of the media to be shared
Load the party the current user is in.
Gets all the destinations that the presence can be set to
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
UserID
- User ID retrieved with this application.
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.
Return the IDs of users entitled to use the current app that are blocked by the specified user
returns an ovrID which is unique per org. allows different apps within the same org to identify the user.
Parameters
UserID
- to load the org scoped id of
Returns all accounts belonging to this user. Accounts are the Oculus user and x-users that are linked to this user.
Part of the scheme to confirm the identity of a particular user in your backend. You can pass the result of User_GetUserProof() and a user ID from User_Get() to your your backend. Your server can then use our api to verify identity. 'https://graph.oculus.com/user_nonce_validate?nonce=USER_PROOF&user_id=USER_ID&access_token=ACCESS_TOKEN'NOTE: The nonce is only good for one check and then it is invalidated.
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
UserID
- User ID of user being blocked
Launch the flow for sending a follow request to a user.
Parameters
UserID
- User ID of user to send a follow request to
Launch the flow for unblocking a user that the viewer has blocked.
Parameters
UserID
- User ID of user to unblock
Retrieve the user age category for the current user.
Gets whether the microphone is currently available to the app. This can be used to show if the user's voice is able to be heard by other users.
Sets whether SystemVoip should be suppressed so that this app's Voip can use the mic and play incoming Voip audio. Once microphone switching functionality for the user is released, this function will no longer work. You can use get_microphone_availability to see if the user has allowed the app access to the microphone.

Functions

The currently running application has indicated they want to show their in-app reporting flow or that they choose to ignore the request.
void OvrPlatform_AbuseReport_ReportRequestHandled
( UGameInstance * GameInstance,
OvrPlatform_AbuseReport_ReportRequestHandled_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Achievements_AddCount_Delegate ,
bool ,
FString )
void OvrPlatform_Achievements_AddCount
( UGameInstance * GameInstance,
FString Name,
int64 Count,
OvrPlatform_Achievements_AddCount_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Achievements_AddFields_Delegate ,
bool ,
FString )
void OvrPlatform_Achievements_AddFields
( UGameInstance * GameInstance,
FString Name,
FString Fields,
OvrPlatform_Achievements_AddFields_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Achievements_GetAllDefinitions_Delegate ,
bool ,
FString )
void OvrPlatform_Achievements_GetAllDefinitions
( UGameInstance * GameInstance,
OvrPlatform_Achievements_GetAllDefinitions_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Achievements_GetAllProgress_Delegate ,
bool ,
FString )
void OvrPlatform_Achievements_GetAllProgress
( UGameInstance * GameInstance,
OvrPlatform_Achievements_GetAllProgress_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Achievements_GetDefinitionsByName_Delegate ,
bool ,
FString )
void OvrPlatform_Achievements_GetDefinitionsByName
( UGameInstance * GameInstance,
TArray< FString > Names,
OvrPlatform_Achievements_GetDefinitionsByName_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Achievements_GetProgressByName_Delegate ,
bool ,
FString )
void OvrPlatform_Achievements_GetProgressByName
( UGameInstance * GameInstance,
TArray< FString > Names,
OvrPlatform_Achievements_GetProgressByName_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Achievements_Unlock_Delegate ,
bool ,
FString )
void OvrPlatform_Achievements_Unlock
( UGameInstance * GameInstance,
FString Name,
OvrPlatform_Achievements_Unlock_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Application_CancelAppDownload_Delegate ,
bool ,
FString )
void OvrPlatform_Application_CancelAppDownload
( UGameInstance * GameInstance,
OvrPlatform_Application_CancelAppDownload_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Application_CheckAppDownloadProgress_Delegate ,
bool ,
FString )
void OvrPlatform_Application_CheckAppDownloadProgress
( UGameInstance * GameInstance,
OvrPlatform_Application_CheckAppDownloadProgress_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Application_GetVersion_Delegate ,
bool ,
FString )
void OvrPlatform_Application_GetVersion
( UGameInstance * GameInstance,
OvrPlatform_Application_GetVersion_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Application_InstallAppUpdateAndRelaunch_Delegate ,
bool ,
FString )
void OvrPlatform_Application_InstallAppUpdateAndRelaunch
( UGameInstance * GameInstance,
FOvrApplicationOptions DeeplinkOptions,
OvrPlatform_Application_InstallAppUpdateAndRelaunch_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Application_LaunchOtherApp_Delegate ,
bool ,
FString )
void OvrPlatform_Application_LaunchOtherApp
( UGameInstance * GameInstance,
FOvrId AppID,
FOvrApplicationOptions DeeplinkOptions,
OvrPlatform_Application_LaunchOtherApp_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Application_StartAppDownload_Delegate ,
bool ,
FString )
void OvrPlatform_Application_StartAppDownload
( UGameInstance * GameInstance,
OvrPlatform_Application_StartAppDownload_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_AssetFile_Delete_Delegate ,
bool ,
FString )
void OvrPlatform_AssetFile_Delete
( UGameInstance * GameInstance,
FOvrId AssetFileID,
OvrPlatform_AssetFile_Delete_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_AssetFile_DeleteById_Delegate ,
bool ,
FString )
void OvrPlatform_AssetFile_DeleteById
( UGameInstance * GameInstance,
FOvrId AssetFileID,
OvrPlatform_AssetFile_DeleteById_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_AssetFile_DeleteByName_Delegate ,
bool ,
FString )
void OvrPlatform_AssetFile_DeleteByName
( UGameInstance * GameInstance,
FString AssetFileName,
OvrPlatform_AssetFile_DeleteByName_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_AssetFile_Download_Delegate ,
bool ,
FString )
void OvrPlatform_AssetFile_Download
( UGameInstance * GameInstance,
FOvrId AssetFileID,
OvrPlatform_AssetFile_Download_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_AssetFile_DownloadById_Delegate ,
bool ,
FString )
void OvrPlatform_AssetFile_DownloadById
( UGameInstance * GameInstance,
FOvrId AssetFileID,
OvrPlatform_AssetFile_DownloadById_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_AssetFile_DownloadByName_Delegate ,
bool ,
FString )
void OvrPlatform_AssetFile_DownloadByName
( UGameInstance * GameInstance,
FString AssetFileName,
OvrPlatform_AssetFile_DownloadByName_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_AssetFile_DownloadCancel_Delegate ,
bool ,
FString )
void OvrPlatform_AssetFile_DownloadCancel
( UGameInstance * GameInstance,
FOvrId AssetFileID,
OvrPlatform_AssetFile_DownloadCancel_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_AssetFile_DownloadCancelById_Delegate ,
bool ,
FString )
void OvrPlatform_AssetFile_DownloadCancelById
( UGameInstance * GameInstance,
FOvrId AssetFileID,
OvrPlatform_AssetFile_DownloadCancelById_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_AssetFile_DownloadCancelByName_Delegate ,
bool ,
FString )
void OvrPlatform_AssetFile_DownloadCancelByName
( UGameInstance * GameInstance,
FString AssetFileName,
OvrPlatform_AssetFile_DownloadCancelByName_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_AssetFile_GetList_Delegate ,
bool ,
FString )
void OvrPlatform_AssetFile_GetList
( UGameInstance * GameInstance,
OvrPlatform_AssetFile_GetList_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_AssetFile_Status_Delegate ,
bool ,
FString )
void OvrPlatform_AssetFile_Status
( UGameInstance * GameInstance,
FOvrId AssetFileID,
OvrPlatform_AssetFile_Status_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_AssetFile_StatusById_Delegate ,
bool ,
FString )
void OvrPlatform_AssetFile_StatusById
( UGameInstance * GameInstance,
FOvrId AssetFileID,
OvrPlatform_AssetFile_StatusById_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_AssetFile_StatusByName_Delegate ,
bool ,
FString )
void OvrPlatform_AssetFile_StatusByName
( UGameInstance * GameInstance,
FString AssetFileName,
OvrPlatform_AssetFile_StatusByName_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Avatar_LaunchAvatarEditor_Delegate ,
bool ,
FString )
void OvrPlatform_Avatar_LaunchAvatarEditor
( UGameInstance * GameInstance,
OvrPlatform_Avatar_LaunchAvatarEditor_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Challenges_Create_Delegate ,
bool ,
FString )
void OvrPlatform_Challenges_Create
( UGameInstance * GameInstance,
FString LeaderboardName,
FOvrChallengeOptions ChallengeOptions,
OvrPlatform_Challenges_Create_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Challenges_DeclineInvite_Delegate ,
bool ,
FString )
void OvrPlatform_Challenges_DeclineInvite
( UGameInstance * GameInstance,
FOvrId ChallengeID,
OvrPlatform_Challenges_DeclineInvite_Delegate && Delegate )
DEPRECATED. Use server-to-server API call instead.
void OvrPlatform_Challenges_Delete
( UGameInstance * GameInstance,
FOvrId ChallengeID,
OvrPlatform_Challenges_Delete_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Challenges_Get_Delegate ,
bool ,
FString )
void OvrPlatform_Challenges_Get
( UGameInstance * GameInstance,
FOvrId ChallengeID,
OvrPlatform_Challenges_Get_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Challenges_GetEntries_Delegate ,
bool ,
FString )
void OvrPlatform_Challenges_GetEntries
( UGameInstance * GameInstance,
FOvrId ChallengeID,
int32 Limit,
OvrPlatform_Challenges_GetEntries_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Challenges_GetEntriesAfterRank_Delegate ,
bool ,
FString )
void OvrPlatform_Challenges_GetEntriesAfterRank
( UGameInstance * GameInstance,
FOvrId ChallengeID,
int32 Limit,
int64 AfterRank,
OvrPlatform_Challenges_GetEntriesAfterRank_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Challenges_GetEntriesByIds_Delegate ,
bool ,
FString )
void OvrPlatform_Challenges_GetEntriesByIds
( UGameInstance * GameInstance,
FOvrId ChallengeID,
int32 Limit,
TArray< FOvrId > UserIDs,
OvrPlatform_Challenges_GetEntriesByIds_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Challenges_GetList_Delegate ,
bool ,
FString )
void OvrPlatform_Challenges_GetList
( UGameInstance * GameInstance,
FOvrChallengeOptions ChallengeOptions,
int32 Limit,
OvrPlatform_Challenges_GetList_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Challenges_Join_Delegate ,
bool ,
FString )
void OvrPlatform_Challenges_Join
( UGameInstance * GameInstance,
FOvrId ChallengeID,
OvrPlatform_Challenges_Join_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Challenges_Leave_Delegate ,
bool ,
FString )
void OvrPlatform_Challenges_Leave
( UGameInstance * GameInstance,
FOvrId ChallengeID,
OvrPlatform_Challenges_Leave_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Challenges_UpdateInfo_Delegate ,
bool ,
FString )
void OvrPlatform_Challenges_UpdateInfo
( UGameInstance * GameInstance,
FOvrId ChallengeID,
FOvrChallengeOptions ChallengeOptions,
OvrPlatform_Challenges_UpdateInfo_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Cowatching_GetPresenterData_Delegate ,
bool ,
FString )
void OvrPlatform_Cowatching_GetPresenterData
( UGameInstance * GameInstance,
OvrPlatform_Cowatching_GetPresenterData_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Cowatching_GetViewersData_Delegate ,
bool ,
FString )
void OvrPlatform_Cowatching_GetViewersData
( UGameInstance * GameInstance,
OvrPlatform_Cowatching_GetViewersData_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Cowatching_IsInSession_Delegate ,
bool ,
FString )
void OvrPlatform_Cowatching_IsInSession
( UGameInstance * GameInstance,
OvrPlatform_Cowatching_IsInSession_Delegate && Delegate )
Join the current cowatching session. Viewer data can only be updated by users who are in the session.
void OvrPlatform_Cowatching_JoinSession
( UGameInstance * GameInstance,
OvrPlatform_Cowatching_JoinSession_Delegate && Delegate )
Launch a dialog for inviting users to cowatch in Copresent Home.
void OvrPlatform_Cowatching_LaunchInviteDialog
( UGameInstance * GameInstance,
OvrPlatform_Cowatching_LaunchInviteDialog_Delegate && Delegate )
Leave the current cowatching session. Viewer data will no longer be relevant.
void OvrPlatform_Cowatching_LeaveSession
( UGameInstance * GameInstance,
OvrPlatform_Cowatching_LeaveSession_Delegate && Delegate )
Request to start a cowatching session as the presenter while copresent in home.
void OvrPlatform_Cowatching_RequestToPresent
( UGameInstance * GameInstance,
OvrPlatform_Cowatching_RequestToPresent_Delegate && Delegate )
Stop being the presenter. This will end the cowatching session.
void OvrPlatform_Cowatching_ResignFromPresenting
( UGameInstance * GameInstance,
OvrPlatform_Cowatching_ResignFromPresenting_Delegate && Delegate )
Set the data that drives a cowatching session. This method is only callable by the presenter. Video title cannot exceed 100 characters, and data size is limited to 500 characters. The data will be eventually consistent across all users.
void OvrPlatform_Cowatching_SetPresenterData
( UGameInstance * GameInstance,
FString VideoTitle,
FString PresenterData,
OvrPlatform_Cowatching_SetPresenterData_Delegate && Delegate )
Set the current user's viewer data to be shared with copresent users. This can be called when there is an active cowatching session. Data size is limited to 500 characters. The data will be eventually consistent across all users.
void OvrPlatform_Cowatching_SetViewerData
( UGameInstance * GameInstance,
FString ViewerData,
OvrPlatform_Cowatching_SetViewerData_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_DeviceApplicationIntegrity_GetIntegrityToken_Delegate ,
bool ,
FString )
void OvrPlatform_DeviceApplicationIntegrity_GetIntegrityToken
( UGameInstance * GameInstance,
FString ChallengeNonce,
OvrPlatform_DeviceApplicationIntegrity_GetIntegrityToken_Delegate && Delegate )
Returns whether the current user is entitled to the current app.
void OvrPlatform_Entitlement_GetIsViewerEntitled
( UGameInstance * GameInstance,
OvrPlatform_Entitlement_GetIsViewerEntitled_Delegate && Delegate )
Clear group presence for running app
void OvrPlatform_GroupPresence_Clear
( UGameInstance * GameInstance,
OvrPlatform_GroupPresence_Clear_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_GroupPresence_GetInvitableUsers_Delegate ,
bool ,
FString )
void OvrPlatform_GroupPresence_GetInvitableUsers
( UGameInstance * GameInstance,
OvrPlatform_GroupPresence_GetInvitableUsers_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_GroupPresence_GetSentInvites_Delegate ,
bool ,
FString )
void OvrPlatform_GroupPresence_GetSentInvites
( UGameInstance * GameInstance,
OvrPlatform_GroupPresence_GetSentInvites_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_GroupPresence_LaunchInvitePanel_Delegate ,
bool ,
FString )
void OvrPlatform_GroupPresence_LaunchInvitePanel
( UGameInstance * GameInstance,
OvrPlatform_GroupPresence_LaunchInvitePanel_Delegate && Delegate )
Launch an error dialog with predefined messages for common multiplayer errors.
void OvrPlatform_GroupPresence_LaunchMultiplayerErrorDialog
( UGameInstance * GameInstance,
OvrPlatform_GroupPresence_LaunchMultiplayerErrorDialog_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_GroupPresence_LaunchRejoinDialog_Delegate ,
bool ,
FString )
void OvrPlatform_GroupPresence_LaunchRejoinDialog
( UGameInstance * GameInstance,
FString LobbySessionId,
FString MatchSessionId,
FString DestinationApiName,
OvrPlatform_GroupPresence_LaunchRejoinDialog_Delegate && Delegate )
Launch the panel which displays the current users in the roster. Users with the same lobby and match session id as part of their presence will show up here.
void OvrPlatform_GroupPresence_LaunchRosterPanel
( UGameInstance * GameInstance,
OvrPlatform_GroupPresence_LaunchRosterPanel_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_GroupPresence_SendInvites_Delegate ,
bool ,
FString )
void OvrPlatform_GroupPresence_SendInvites
( UGameInstance * GameInstance,
TArray< FOvrId > UserIDs,
OvrPlatform_GroupPresence_SendInvites_Delegate && Delegate )
Set group presence for running app
void OvrPlatform_GroupPresence_Set
( UGameInstance * GameInstance,
FOvrGroupPresenceOptions GroupPresenceOptions,
OvrPlatform_GroupPresence_Set_Delegate && Delegate )
Set the user's deeplink message while keeping the other group presence parameters the same. If the destination of the user is not set, the deeplink message cannot be set as there's no deeplink message to override.
void OvrPlatform_GroupPresence_SetDeeplinkMessageOverride
( UGameInstance * GameInstance,
FString DeeplinkMessage,
OvrPlatform_GroupPresence_SetDeeplinkMessageOverride_Delegate && Delegate )
Replaces the user's current destination for the provided one. All other existing group presence parameters will remain the same.
void OvrPlatform_GroupPresence_SetDestination
( UGameInstance * GameInstance,
FString ApiName,
OvrPlatform_GroupPresence_SetDestination_Delegate && Delegate )
Set if the current user's destination and session is joinable while keeping the other group presence parameters the same. If the destination or session ids of the user is not set, they cannot be set to joinable.
void OvrPlatform_GroupPresence_SetIsJoinable
( UGameInstance * GameInstance,
bool IsJoinable,
OvrPlatform_GroupPresence_SetIsJoinable_Delegate && Delegate )
Replaces the user's current lobby session id for the provided one. All other existing group presence parameters will remain the same.
void OvrPlatform_GroupPresence_SetLobbySession
( UGameInstance * GameInstance,
FString Id,
OvrPlatform_GroupPresence_SetLobbySession_Delegate && Delegate )
Replaces the user's current match session id for the provided one. All other existing group presence parameters will remain the same.
void OvrPlatform_GroupPresence_SetMatchSession
( UGameInstance * GameInstance,
FString Id,
OvrPlatform_GroupPresence_SetMatchSession_Delegate && Delegate )
Allow the consumable IAP product to be purchased again. Conceptually, this indicates that the item was used or consumed.
void OvrPlatform_IAP_ConsumePurchase
( UGameInstance * GameInstance,
FString Sku,
OvrPlatform_IAP_ConsumePurchase_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_IAP_GetProductsBySKU_Delegate ,
bool ,
FString )
void OvrPlatform_IAP_GetProductsBySKU
( UGameInstance * GameInstance,
TArray< FString > Skus,
OvrPlatform_IAP_GetProductsBySKU_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_IAP_GetViewerPurchases_Delegate ,
bool ,
FString )
void OvrPlatform_IAP_GetViewerPurchases
( UGameInstance * GameInstance,
OvrPlatform_IAP_GetViewerPurchases_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_IAP_GetViewerPurchasesDurableCache_Delegate ,
bool ,
FString )
void OvrPlatform_IAP_GetViewerPurchasesDurableCache
( UGameInstance * GameInstance,
OvrPlatform_IAP_GetViewerPurchasesDurableCache_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_IAP_LaunchCheckoutFlow_Delegate ,
bool ,
FString )
void OvrPlatform_IAP_LaunchCheckoutFlow
( UGameInstance * GameInstance,
FString Sku,
OvrPlatform_IAP_LaunchCheckoutFlow_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_LanguagePack_GetCurrent_Delegate ,
bool ,
FString )
void OvrPlatform_LanguagePack_GetCurrent
( UGameInstance * GameInstance,
OvrPlatform_LanguagePack_GetCurrent_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_LanguagePack_SetCurrent_Delegate ,
bool ,
FString )
void OvrPlatform_LanguagePack_SetCurrent
( UGameInstance * GameInstance,
FString Tag,
OvrPlatform_LanguagePack_SetCurrent_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Leaderboard_Get_Delegate ,
bool ,
FString )
void OvrPlatform_Leaderboard_Get
( UGameInstance * GameInstance,
FString LeaderboardName,
OvrPlatform_Leaderboard_Get_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Leaderboard_GetEntries_Delegate ,
bool ,
FString )
void OvrPlatform_Leaderboard_GetEntries
( UGameInstance * GameInstance,
FString LeaderboardName,
int32 Limit,
OvrPlatform_Leaderboard_GetEntries_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Leaderboard_GetEntriesAfterRank_Delegate ,
bool ,
FString )
void OvrPlatform_Leaderboard_GetEntriesAfterRank
( UGameInstance * GameInstance,
FString LeaderboardName,
int32 Limit,
int64 AfterRank,
OvrPlatform_Leaderboard_GetEntriesAfterRank_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Leaderboard_GetEntriesByIds_Delegate ,
bool ,
FString )
void OvrPlatform_Leaderboard_GetEntriesByIds
( UGameInstance * GameInstance,
FString LeaderboardName,
int32 Limit,
TArray< FOvrId > UserIDs,
OvrPlatform_Leaderboard_GetEntriesByIds_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Leaderboard_WriteEntry_Delegate ,
bool ,
FString )
void OvrPlatform_Leaderboard_WriteEntry
( UGameInstance * GameInstance,
FString LeaderboardName,
int64 Score,
TArray< uint8 > ExtraData,
bool ForceUpdate,
OvrPlatform_Leaderboard_WriteEntry_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Leaderboard_WriteEntryWithSupplementaryMetric_Delegate ,
bool ,
FString )
void OvrPlatform_Leaderboard_WriteEntryWithSupplementaryMetric
( UGameInstance * GameInstance,
FString LeaderboardName,
int64 Score,
int64 SupplementaryMetric,
TArray< uint8 > ExtraData,
bool ForceUpdate,
OvrPlatform_Leaderboard_WriteEntryWithSupplementaryMetric_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Media_ShareToFacebook_Delegate ,
bool ,
FString )
void OvrPlatform_Media_ShareToFacebook
( UGameInstance * GameInstance,
FString PostTextSuggestion,
FString FilePath,
EOvrMediaContentType ContentType,
OvrPlatform_Media_ShareToFacebook_Delegate && Delegate )
Mark a notification as read. This causes it to disappear from the Universal Menu, the Oculus App, Oculus Home, and in-app retrieval.
void OvrPlatform_Notification_MarkAsRead
( UGameInstance * GameInstance,
FOvrId NotificationID,
OvrPlatform_Notification_MarkAsRead_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Party_GetCurrent_Delegate ,
bool ,
FString )
void OvrPlatform_Party_GetCurrent
( UGameInstance * GameInstance,
OvrPlatform_Party_GetCurrent_Delegate && Delegate )
DEPRECATED. Use the clear method in group presence
void OvrPlatform_RichPresence_Clear
( UGameInstance * GameInstance,
OvrPlatform_RichPresence_Clear_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_RichPresence_GetDestinations_Delegate ,
bool ,
FString )
void OvrPlatform_RichPresence_GetDestinations
( UGameInstance * GameInstance,
OvrPlatform_RichPresence_GetDestinations_Delegate && Delegate )
DEPRECATED. Use GroupPresence_Set().
void OvrPlatform_RichPresence_Set
( UGameInstance * GameInstance,
FOvrRichPresenceOptions RichPresenceOptions,
OvrPlatform_RichPresence_Set_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_User_Get_Delegate ,
bool ,
FString )
void OvrPlatform_User_Get
( UGameInstance * GameInstance,
FOvrId UserID,
OvrPlatform_User_Get_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_User_GetAccessToken_Delegate ,
bool ,
FString )
void OvrPlatform_User_GetAccessToken
( UGameInstance * GameInstance,
OvrPlatform_User_GetAccessToken_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_User_GetBlockedUsers_Delegate ,
bool ,
FString )
void OvrPlatform_User_GetBlockedUsers
( UGameInstance * GameInstance,
OvrPlatform_User_GetBlockedUsers_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_User_GetLoggedInUser_Delegate ,
bool ,
FString )
void OvrPlatform_User_GetLoggedInUser
( UGameInstance * GameInstance,
OvrPlatform_User_GetLoggedInUser_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_User_GetLoggedInUserFriends_Delegate ,
bool ,
FString )
void OvrPlatform_User_GetLoggedInUserFriends
( UGameInstance * GameInstance,
OvrPlatform_User_GetLoggedInUserFriends_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_User_GetOrgScopedID_Delegate ,
bool ,
FString )
void OvrPlatform_User_GetOrgScopedID
( UGameInstance * GameInstance,
FOvrId UserID,
OvrPlatform_User_GetOrgScopedID_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_User_GetSdkAccounts_Delegate ,
bool ,
FString )
void OvrPlatform_User_GetSdkAccounts
( UGameInstance * GameInstance,
OvrPlatform_User_GetSdkAccounts_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_User_GetUserProof_Delegate ,
bool ,
FString )
void OvrPlatform_User_GetUserProof
( UGameInstance * GameInstance,
OvrPlatform_User_GetUserProof_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_User_LaunchBlockFlow_Delegate ,
bool ,
FString )
void OvrPlatform_User_LaunchBlockFlow
( UGameInstance * GameInstance,
FOvrId UserID,
OvrPlatform_User_LaunchBlockFlow_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_User_LaunchFriendRequestFlow_Delegate ,
bool ,
FString )
void OvrPlatform_User_LaunchFriendRequestFlow
( UGameInstance * GameInstance,
FOvrId UserID,
OvrPlatform_User_LaunchFriendRequestFlow_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_User_LaunchUnblockFlow_Delegate ,
bool ,
FString )
void OvrPlatform_User_LaunchUnblockFlow
( UGameInstance * GameInstance,
FOvrId UserID,
OvrPlatform_User_LaunchUnblockFlow_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_UserAgeCategory_Get_Delegate ,
bool ,
FString )
void OvrPlatform_UserAgeCategory_Get
( UGameInstance * GameInstance,
OvrPlatform_UserAgeCategory_Get_Delegate && Delegate )
Report the current user's age category to Meta.
void OvrPlatform_UserAgeCategory_Report
( UGameInstance * GameInstance,
EOvrAppAgeCategory AgeCategory,
OvrPlatform_UserAgeCategory_Report_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Voip_GetMicrophoneAvailability_Delegate ,
bool ,
FString )
void OvrPlatform_Voip_GetMicrophoneAvailability
( UGameInstance * GameInstance,
OvrPlatform_Voip_GetMicrophoneAvailability_Delegate && Delegate )
DECLARE_DELEGATE_ThreeParams
( OvrPlatform_Voip_SetSystemVoipSuppressed_Delegate ,
bool ,
FString )
void OvrPlatform_Voip_SetSystemVoipSuppressed
( UGameInstance * GameInstance,
bool Suppressed,
OvrPlatform_Voip_SetSystemVoipSuppressed_Delegate && Delegate )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon