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

OVR_Requests_AssetFile.h File

Functions

DEPRECATED. Use ovr_AssetFile_DeleteById()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().
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
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 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
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().
DEPRECATED. Use ovr_AssetFile_DownloadById()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().
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().
DEPRECATED. Use ovr_AssetFile_DownloadCancelById()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().
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 objects with asset file names and their associated IDs, and and whether it's currently installed.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().
DEPRECATED. Use ovr_AssetFile_StatusById()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().
Returns the details 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 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