API reference

AssetFileDeleteResult Class

An AssetFileDeleteResult contains the result of a deleted asset file. You can delete an asset file by using com.meta.horizon.platform.ovr.requests.AssetFile#deleteById(long assetFileID) or com.meta.horizon.platform.ovr.requests.AssetFile#deleteByName(String assetFileName). The delete result contains the com.meta.horizon.platform.ovr.models.AssetFileDeleteResult#getAssetId(), the file path, and the success status of the deleted asset.

Member Functions

AssetFileDeleteResult
( final long ptr )
long getAssetFileId ( )
Returns
long
Deprecated
You can use com.meta.horizon.platform.ovr.models.AssetFileDeleteResult#getAssetId() to retrieve the ID of the asset file.
long getAssetId ( )
This represents the ID of the asset file. When you want to use com.meta.horizon.platform.ovr.models.AssetFileDeleteResult#getAssetFileId(), you need to use com.meta.horizon.platform.ovr.models.AssetFileDeleteResult#getAssetId() instead. It can be retrieved using com.meta.horizon.platform.ovr.models.AssetDetails#getAssetId().
Returns
long
String getFilepath ( )
File path of the asset file.
Returns
String
boolean getSuccess ( )
You can use this to determine whether deleting an asset file was successful or not.
Returns
boolean