OTVPersistenceAsset
Downloads are represented by the objects of the class OTVPersistenceAsset.
They have a OTVDownloadState to reflect their lifecycle.
-
Unique identifier for the asset
-
Title of the asset
-
URL of the asset
-
Progress of the asset download
-
Returns the error details of the failure.
- This field applies only if the
downloadErroris not.noError, returnsnilotherwise
- This field applies only if the
-
Returns the failure reason of the download.
- This field applies only if the state is
error, returnsnilotherwise
- This field applies only if the state is
-
Current state of the asset
-
The asset ID
-
The total size downloaded for the downloaded/downloading asset in bytes
-
The DRM type of the asset
-
The OTVMediaInfo for the asset
-
The OTVPersistLicenseInfo for the asset
-
-
Setup FPS license delegate.
Note
- The
OTVPersistenceAssetobject MUST be in state `prepared, otherwise calling this function has no effect.
- The
-
Setup PRM for a download
OTVPRMAVURLAsset.Note
- The
OTVPersistenceAssetobject MUST be in one state fromnotDownloaded,preparedorpreparing, otherwise calling this function has no effect.
- The
-
Current state of the asset
-
The local URL to access the offline asset from
-
Extends
See moreOTVPersistenceAssetto define a number of values to use as keys in dictionary lookups.
OTVPersistenceAsset Class Reference