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

ovr_AssetFile_DownloadCancelByName Function

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

Signature

ovrRequest ovr_AssetFile_DownloadCancelByName(const char *assetFileName)

Parameters

assetFileName: const char * The asset file name

Returns