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

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.

Constructors

AssetFileDeleteResult ( ptr )
Signature
com.meta.horizon.platform.ovr.models.AssetFileDeleteResult.AssetFileDeleteResult(final long ptr)
Parameters
ptr: final long

Methods

getAssetFileId ()
DeprecatedYou can use com.meta.horizon.platform.ovr.models.AssetFileDeleteResult#getAssetId() to retrieve the ID of the asset file.
Signature
long com.meta.horizon.platform.ovr.models.AssetFileDeleteResult.getAssetFileId()
Returns
long  long
getAssetId ()
Signature
long com.meta.horizon.platform.ovr.models.AssetFileDeleteResult.getAssetId()
Returns
long  long
getFilepath ()
File path of the asset file.
Signature
String com.meta.horizon.platform.ovr.models.AssetFileDeleteResult.getFilepath()
Returns
String  String
getSuccess ()
You can use this to determine whether deleting an asset file was successful or not.
Signature
boolean com.meta.horizon.platform.ovr.models.AssetFileDeleteResult.getSuccess()
Returns
boolean  boolean