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

ovr_AssetFile_DownloadCancelById Function

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. 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().

Signature

ovrRequest ovr_AssetFile_DownloadCancelById(ovrID assetFileID)

Parameters

assetFileID: ovrID The asset file ID

Returns