API reference

OVR_AssetFileDownloadCancelResult.h File

Typedefs

struct ovrAssetFileDownloadCancelResult * ovrAssetFileDownloadCancelResultHandle
An AssetFileDownloadCancelResult represents the result of a canceled download action of an asset file. You can cancel a download of an asset file by using ovr_AssetFile_DownloadCancelById() or ovr_AssetFile_DownloadCancelById(). The result contains three fields which are the asset file ID(use ovr_AssetFileDownloadCancelResult_GetAssetId() to access), the file path, and success status of the canceled download.

Functions

ovrID ovr_AssetFileDownloadCancelResult_GetAssetFileId
Deprecated
You can use ovr_AssetFileDownloadCancelResult_GetAssetId() to retrieve the ID of the asset file instead.
ovrID ovr_AssetFileDownloadCancelResult_GetAssetId
ID of the asset file. NOTE: this does not represent the ID of the asset.
const char * ovr_AssetFileDownloadCancelResult_GetFilepath
File path of the asset file.
bool ovr_AssetFileDownloadCancelResult_GetSuccess
You can use this to determine whether the cancel request of downloading an asset file has succeeded.