Delete
(
assetFileID
)
|
DeprecatedUse AssetFile.DeleteById()
Signature
static Request<Models.AssetFileDeleteResult> Oculus.Platform.AssetFile.Delete(UInt64 assetFileID) Parameters assetFileID: UInt64
The uuid of the asset file.
Returns Request< Models.AssetFileDeleteResult > |
DeleteById
(
assetFileID
)
|
Removes a previously installed asset file from the device by its ID. Returns an object containing the asset ID and file name, and a success flag.
Signature
static Request<Models.AssetFileDeleteResult> Oculus.Platform.AssetFile.DeleteById(UInt64 assetFileID) Parameters assetFileID: UInt64
The asset file ID
Returns Request< Models.AssetFileDeleteResult > |
DeleteByName
(
assetFileName
)
|
Removes a previously installed asset file from the device by its name. Returns an object containing the asset ID and file name, and a success flag.
Signature
static Request<Models.AssetFileDeleteResult> Oculus.Platform.AssetFile.DeleteByName(string assetFileName) Parameters assetFileName: string
The asset file name
Returns Request< Models.AssetFileDeleteResult > |
Download
(
assetFileID
)
|
DeprecatedUse AssetFile.DownloadById()
Signature
static Request<Models.AssetFileDownloadResult> Oculus.Platform.AssetFile.Download(UInt64 assetFileID) Parameters assetFileID: UInt64
The uuid of the file.
Returns Request< Models.AssetFileDownloadResult > |
DownloadById
(
assetFileID
)
|
Downloads an asset file by its ID on demand. Returns an object containing the asset ID and filepath. Sends periodic Message::MessageType::Notification_AssetFile_DownloadUpdate to track the downloads.
Signature
static Request<Models.AssetFileDownloadResult> Oculus.Platform.AssetFile.DownloadById(UInt64 assetFileID) Parameters assetFileID: UInt64
The asset file ID
Returns Request< Models.AssetFileDownloadResult > |
DownloadByName
(
assetFileName
)
|
Downloads an asset file by its name on demand. Returns an object containing the asset ID and filepath. Sends periodic {notifications.asset_file.download_update}} to track the downloads.
Signature
static Request<Models.AssetFileDownloadResult> Oculus.Platform.AssetFile.DownloadByName(string assetFileName) Parameters assetFileName: string
The asset file name
Returns Request< Models.AssetFileDownloadResult > |
DownloadCancel
(
assetFileID
)
|
DeprecatedUse AssetFile.DownloadCancelById()
Signature
static Request<Models.AssetFileDownloadCancelResult> Oculus.Platform.AssetFile.DownloadCancel(UInt64 assetFileID) Parameters assetFileID: UInt64
The uuid of the asset file.
Returns Request< Models.AssetFileDownloadCancelResult > |
DownloadCancelById
(
assetFileID
)
|
Cancels a previously spawned download request for an asset file by its ID. Returns an object containing the asset ID and file path, and a success flag.
Signature
static Request<Models.AssetFileDownloadCancelResult> Oculus.Platform.AssetFile.DownloadCancelById(UInt64 assetFileID) Parameters assetFileID: UInt64
The asset file ID
Returns Request< Models.AssetFileDownloadCancelResult > |
DownloadCancelByName
(
assetFileName
)
|
Cancels a previously spawned download request for an asset file by its name. Returns an object containing the asset ID and file path, and a success flag.
Signature
static Request<Models.AssetFileDownloadCancelResult> Oculus.Platform.AssetFile.DownloadCancelByName(string assetFileName) Parameters assetFileName: string
The asset file name
Returns Request< Models.AssetFileDownloadCancelResult > |
GetList
()
|
Returns an array of asset details with asset file names and their associated IDs AssetDetails::AssetId, and whether it's currently installed AssetDetails::DownloadStatus.
Signature
static Request<Models.AssetDetailsList> Oculus.Platform.AssetFile.GetList() Returns Request< Models.AssetDetailsList > |
SetDownloadUpdateNotificationCallback
(
callback
)
|
Sent to indicate download progress for asset files.
Signature
static void Oculus.Platform.AssetFile.SetDownloadUpdateNotificationCallback(Message< Models.AssetFileDownloadUpdate >.Callback callback) Parameters callback: Message< Models.AssetFileDownloadUpdate >.CallbackReturns void |
Status
(
assetFileID
)
|
DeprecatedUse AssetFile.StatusById()
Signature
static Request<Models.AssetDetails> Oculus.Platform.AssetFile.Status(UInt64 assetFileID) Parameters assetFileID: UInt64
The uuid of the asset file.
Returns Request< Models.AssetDetails > |
StatusById
(
assetFileID
)
|
Returns the details Models.AssetDetails on a single asset: ID, file name, and whether it's currently installed
Signature
static Request<Models.AssetDetails> Oculus.Platform.AssetFile.StatusById(UInt64 assetFileID) Parameters assetFileID: UInt64
The asset file ID
Returns Request< Models.AssetDetails > |
StatusByName
(
assetFileName
)
|
Returns the details Models.AssetDetails on a single asset: ID, file name, and whether it's currently installed
Signature
static Request<Models.AssetDetails> Oculus.Platform.AssetFile.StatusByName(string assetFileName) Parameters assetFileName: string
The asset file name
Returns Request< Models.AssetDetails > |