Keys

public struct Keys

Extends OTVPersistenceAsset to define a number of values to use as keys in dictionary lookups.

  • Key for the Asset name, used for OTVAssetDownloadProgress and OTVAssetDownloadStateChanged Notifications as well as AssetListManager.

    Declaration

    Swift

    public static let name: String
  • Key for the Asset download percentage, used for OTVAssetDownloadProgress Notification.

    Declaration

    Swift

    public static let percentDownloaded: String
  • Key for the Asset download state, used for OTVAssetDownloadStateChanged Notification.

    Declaration

    Swift

    public static let downloadState: String
  • Key for the Asset download error description, used for OTVAssetDownloadStateChanged Notification.

    Declaration

    Swift

    public static let errorDescription: String
  • Key for the Asset download error code, used for OTVAssetDownloadStateChanged Notification.

    Declaration

    Swift

    public static let errorCode: String