API reference

AssetFileDeleteResult Interface

An AssetFileDeleteResult contains the result of a deleted asset file. You can delete an asset file by using AssetFile.deleteById or AssetFile.deleteByName. The delete result contains the AssetFileDeleteResult.assetId, the file path, and the success status of the deleted asset.

Signature

interface AssetFileDeleteResult

Properties

assetFileId : String
[Get]
DeprecatedAssetFileDeleteResult.asset_id
The API has been deprecated. Please use AssetFileDeleteResult.asset_id instead.
Signature
abstract val assetFileId: String
assetId : String
[Get]
This represents the ID of the asset file. When you want to use AssetFileDeleteResult.assetFileId, you need to use AssetFileDeleteResult.assetId instead. It can be retrieved using AssetDetails.assetId.
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 deleting an asset file was successful or not.
Signature
abstract val success: Boolean