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

AssetFileDownloadCancelResult Class

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 com.meta.horizon.platform.ovr.requests.AssetFile#downloadCancelById(long assetFileID) or com.meta.horizon.platform.ovr.requests.AssetFile#downloadCancelByName(String assetFileName). The result contains three fields which are the asset file ID(use com.meta.horizon.platform.ovr.models.AssetFileDownloadCancelResult#getAssetId() to access), the file path, and success status of the canceled download.

Member Functions

AssetFileDownloadCancelResult
( final long ptr )
Returns
long
Deprecated
You can use com.meta.horizon.platform.ovr.models.AssetFileDownloadCancelResult#getAssetId() to retrieve the ID of the asset file instead.
ID of the asset file. NOTE: this does not represent the ID of the asset.
Returns
long
File path of the asset file.
Returns
String
You can use this to determine whether the cancel request of downloading an asset file has succeeded.
Returns
boolean
Did you find this page helpful?
Thumbs up icon
Thumbs down icon