Offline Asset
-
See moreOTVPersistenceManageris a singleton that manages all download related functionality. It utilisesOTVDownloadingAssetManagerfor outstanding downloads andOTVAssetsManagerfor completed downloads.Declaration
Objective-C
@interface OTVPersistenceManager : NSObject -
Downloads are represented by the objects of the class
See moreOTVPersistenceAsset. They have aOTVDownloadStateto reflect their lifecycle.Declaration
Objective-C
@interface OTVPersistenceAsset : NSObject -
ObjectiveC compatible enumeration of the possible states of a persistence asset.
See moreDeclaration
Objective-C
enum OTVDownloadState {}Swift
enum OTVPersistenceAssetState : Int
Offline Asset Reference