API reference

AssetFileDownloadCancelResult Interface

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 AssetFile.downloadCancelById or AssetFile.downloadCancelByName. The result contains three fields which are the asset file ID(use AssetFileDownloadCancelResult.assetId to access), the file path, and success status of the canceled download.

Signature

interface AssetFileDownloadCancelResult

Properties

assetFileId : String
[Get]
DeprecatedAssetFileDownloadCancelResult.asset_id
The API has been deprecated. Please use AssetFileDownloadCancelResult.asset_id instead.
Signature
abstract val assetFileId: String
assetId : String
[Get]
ID of the asset file. NOTE: this does not represent the ID of the asset.
Signature
abstract val assetId: String
filepath : String
[Get]
File path of the asset file.
Signature
abstract val filepath: String
success : Boolean
[Get]
You can use this to determine whether the cancel request of downloading an asset file has succeeded.
Signature
abstract val success: Boolean