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

    Swift

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

    See more

    Declaration

    Swift

    public class OTVPersistenceAsset : NSObject
  • Enumeration of the possible states of a persistence asset.

    See more

    Declaration

    Swift

    public enum OTVDownloadState : String, Codable