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

OVR_Requests_AssetFile.h File

Functions

A message with type ovrMessage_AssetFile_Delete 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 ovrAssetFileDeleteResultHandle. Extract the payload from the message handle with ovr_Message_GetAssetFileDeleteResult(). Deprecated
Removes a 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
A message with type ovrMessage_AssetFile_DeleteById 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 ovrAssetFileDeleteResultHandle. Extract the payload from the message handle with ovr_Message_GetAssetFileDeleteResult().
Removes a 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
A message with type ovrMessage_AssetFile_DeleteByName 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 ovrAssetFileDeleteResultHandle. Extract the payload from the message handle with ovr_Message_GetAssetFileDeleteResult().
A message with type ovrMessage_AssetFile_Download 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 ovrAssetFileDownloadResultHandle. Extract the payload from the message handle with ovr_Message_GetAssetFileDownloadResult(). Deprecated
Downloads an asset file by its ID on demand. Returns an object containing the asset ID and filepath. Sends periodic ovrNotification_AssetFile_DownloadUpdate to track the downloads.
Parameters
assetFileID
The asset file ID
A message with type ovrMessage_AssetFile_DownloadById 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 ovrAssetFileDownloadResultHandle. Extract the payload from the message handle with ovr_Message_GetAssetFileDownloadResult().
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
A message with type ovrMessage_AssetFile_DownloadByName 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 ovrAssetFileDownloadResultHandle. Extract the payload from the message handle with ovr_Message_GetAssetFileDownloadResult().
A message with type ovrMessage_AssetFile_DownloadCancel 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 ovrAssetFileDownloadCancelResultHandle. Extract the payload from the message handle with ovr_Message_GetAssetFileDownloadCancelResult(). Deprecated
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
A message with type ovrMessage_AssetFile_DownloadCancelById 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 ovrAssetFileDownloadCancelResultHandle. Extract the payload from the message handle with ovr_Message_GetAssetFileDownloadCancelResult().
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
A message with type ovrMessage_AssetFile_DownloadCancelByName 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 ovrAssetFileDownloadCancelResultHandle. Extract the payload from the message handle with ovr_Message_GetAssetFileDownloadCancelResult().
Returns an array of asset details with asset file names and their associated IDs ovr_AssetDetails_GetAssetId(), and whether it's currently installed ovr_AssetDetails_GetDownloadStatus().A message with type ovrMessage_AssetFile_GetList 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 ovrAssetDetailsArrayHandle. Extract the payload from the message handle with ovr_Message_GetAssetDetailsArray().
A message with type ovrMessage_AssetFile_Status 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 ovrAssetDetailsHandle. Extract the payload from the message handle with ovr_Message_GetAssetDetails(). Deprecated
Returns the details ovrAssetDetailsHandle on a single asset: ID, file name, and whether it's currently installed
Parameters
assetFileID
The asset file ID
A message with type ovrMessage_AssetFile_StatusById 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 ovrAssetDetailsHandle. Extract the payload from the message handle with ovr_Message_GetAssetDetails().
Returns the details ovrAssetDetailsHandle on a single asset: ID, file name, and whether it's currently installed
Parameters
assetFileName
The asset file name
A message with type ovrMessage_AssetFile_StatusByName 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 ovrAssetDetailsHandle. Extract the payload from the message handle with ovr_Message_GetAssetDetails().
Did you find this page helpful?
Thumbs up icon
Thumbs down icon