ActionToken

@objcMembers
public class ActionToken : NSObject

ActionToken contains info about DRM data

  • id

    VOD id

    Declaration

    Swift

    public var id: String
  • URL to get license from

    Declaration

    Swift

    public var licensingServerUrl: String?
  • JWT to download license with license URL

    Declaration

    Swift

    public var croToken: String?
  • VOD url

    Declaration

    Swift

    public var contentUrl: String
  • Does license allow persistance

    Declaration

    Swift

    public var persistentLicense: Bool
  • urlAsset to pass to Video player

    Declaration

    Swift

    public var urlAsset: AVURLAsset { get }
  • An array of content IDs to use for loading content keys with FPS.

    Declaration

    Swift

    public var contentKeyIDList: [String]?
  • Offline playback of already downloaded item, for which we already have the license or playback of unprotected content. This one is internal only.

    Declaration

    Swift

    public init(id: String, contentUrl: String, persistentLicense: Bool = false)
  • Online playback or adding download of protected content.

    Declaration

    Swift

    public init(id: String, contentUrl: String, croToken: String?, licensingServerUrl: String?, persistentLicense: Bool = false)