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

AssetFileDownloadCancelResult Class

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 AssetFile.DownloadCancelById() or AssetFile.DownloadCancelByName(). The result contains three fields which are the asset file ID(use AssetFileDownloadCancelResult::AssetId to access), the file path, and success status of the canceled download.

Constructors

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

Fields

AssetFileId : readonly UInt64
DeprecatedYou can use AssetFileDownloadCancelResult::AssetId to retrieve the ID of the asset file instead.
Signature
readonly UInt64 Oculus.Platform.Models.AssetFileDownloadCancelResult.AssetFileId
AssetId : readonly UInt64
ID of the asset file. NOTE: this does not represent the ID of the asset.
Signature
readonly UInt64 Oculus.Platform.Models.AssetFileDownloadCancelResult.AssetId
Filepath : readonly string
File path of the asset file.
Signature
readonly string Oculus.Platform.Models.AssetFileDownloadCancelResult.Filepath
Success : readonly bool
You can use this to determine whether the cancel request of downloading an asset file has succeeded.
Signature
readonly bool Oculus.Platform.Models.AssetFileDownloadCancelResult.Success