Offline Asset
-
See moreOTVPersistenceManager
is a singleton that manages all download related functionality. It utilisesOTVDownloadingAssetManager
for outstanding downloads andOTVAssetsManager
for completed downloads.Declaration
Swift
final public class OTVPersistenceManager : NSObject
-
Downloads are represented by the objects of the class
See moreOTVPersistenceAsset
. They have aOTVDownloadState
to reflect their lifecycle.Declaration
Swift
public class OTVPersistenceAsset : NSObject
-
Enumeration of the possible states of a persistence asset.
See moreDeclaration
Swift
public enum OTVDownloadState : String, Codable