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

AssetFile Class

Static Member Functions

DEPRECATED. Use AssetFile.DeleteById()
Removes an previously installed asset file from the device by its ID. Returns an object containing the asset ID and file name, and a success flag.
Parameters
assetFileID
The asset file ID
Removes an previously installed asset file from the device by its name. Returns an object containing the asset ID and file name, and a success flag.
Parameters
assetFileName
The asset file name
DEPRECATED. Use AssetFile.DownloadById()
Downloads an asset file by its ID on demand. Returns an object containing the asset ID and filepath. Sends periodic MessageType.Notification_AssetFile_DownloadUpdate to track the downloads.
Parameters
assetFileID
The asset file ID
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.
Parameters
assetFileName
The asset file name
DEPRECATED. Use AssetFile.DownloadCancelById()
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.
Parameters
assetFileID
The asset file ID
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.
Parameters
assetFileName
The asset file name
Returns an array of objects with asset file names and their associated IDs, and and whether it's currently installed.
DEPRECATED. Use AssetFile.StatusById()
Returns the details on a single asset: ID, file name, and whether it's currently installed
Parameters
assetFileID
The asset file ID
Returns the details on a single asset: ID, file name, and whether it's currently installed
Parameters
assetFileName
The asset file name
Sent to indicate download progress for asset files.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon