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

AssetFileDownloadCancelResult

Updated: Oct 30, 2025

AssetFileDownloadCancelResult

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

Properties

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