Offline Asset

  • OTVPersistenceManager is a singleton that manages all download related functionality. It utilises OTVDownloadingAssetManager for outstanding downloads and OTVAssetsManager for completed downloads.

    See more

    Declaration

    Objective-C

    
    @interface OTVPersistenceManager : NSObject
  • Downloads are represented by the objects of the class OTVPersistenceAsset. They have a OTVDownloadState to reflect their lifecycle.

    See more

    Declaration

    Objective-C

    
    @interface OTVPersistenceAsset : NSObject
  • ObjectiveC compatible enumeration of the possible states of a persistence asset.

    See more

    Declaration

    Objective-C

    enum OTVDownloadState : NSInteger {}

    Swift

    enum OTVPersistenceAssetState : Int, @unchecked Sendable