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 AssetFile.DeleteById() or AssetFile.DeleteByName(). The delete result contains the AssetFileDeleteResult::AssetId, the file path, and the success status of the deleted asset.

Constructors

AssetFileDeleteResult ( o )
Signature
Oculus.Platform.Models.AssetFileDeleteResult.AssetFileDeleteResult(IntPtr o)
Parameters
o: IntPtr

Fields

AssetFileId : readonly UInt64
DeprecatedYou can use AssetFileDeleteResult::AssetId to retrieve the ID of the asset file.
Signature
readonly UInt64 Oculus.Platform.Models.AssetFileDeleteResult.AssetFileId
AssetId : readonly UInt64
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
readonly UInt64 Oculus.Platform.Models.AssetFileDeleteResult.AssetId
Filepath : readonly string
File path of the asset file.
Signature
readonly string Oculus.Platform.Models.AssetFileDeleteResult.Filepath
Success : readonly bool
You can use this to determine whether deleting an asset file was successful or not.
Signature
readonly bool Oculus.Platform.Models.AssetFileDeleteResult.Success