DRMTodayDRMConfiguration
@objc(THEOplayerDRMTodayDRMConfiguration)
public class DRMTodayDRMConfiguration : MultiplatformDRMConfiguration
The DRMtoday DRMConfiguration object provides a set of DRM parameters for FairPlay DRM streaming with DRMtoday integration.
-
The authentication token.
Remark
This attribute is required when you use the Up-front Authentication flow to make the license request.Declaration
Swift
@objc public var token: String? -
The user ID.
Remark
This attribute is required when you use the User Authentication Callback flow to make the license request.Declaration
Swift
@objc public var userId: String? -
The session ID.
Remark
This attribute is required when you use the User Authentication Callback flow to make the license request.Declaration
Swift
@objc public var sessionId: String? -
The merchant ID.
Remark
This attribute is required when you use the User Authentication Callback flow to make the license request.Declaration
Swift
@objc public var merchant: String? -
Constructs a DRMToday DRMConfiguration.
Declaration
Swift
@objc public init(token: String? = nil, userId: String? = nil, sessionId: String? = nil, merchant: String? = nil, keySystemConfigurations: KeySystemConfigurationCollection)Parameters
tokenThe DRMToday token, defaults to nil.
userIdThe DRMToday user ID, defaults to nil.
sessionIdThe DRMToday session ID, defaults to nil.
merchantThe DRMToday merchant, default to nil.
licenseTypeThe type of license for FairPlay, defaults to
temporary.keySystemConfigurationsthe key system configurations (FairPlay, Widevide).
-
Constructs a DRMToday DRMConfiguration.
Declaration
Swift
@available(*, deprecated, message: "This initializer will be removed in the next major release. Please use init(token:userId:sessionId:merchant:keySystemConfigurations:﹚ instead.") @objc public convenience init(licenseAcquisitionURL: String, certificateURL: String, headers: [[String : String]]? = nil, token: String? = nil, userId: String? = nil, sessionId: String? = nil, merchant: String? = nil, licenseType: LicenseType = .temporary)Parameters
licenseAcquisitionURLThe license aquisition URL for FairPlay.
certificateURLThe certificate URL for FairPlay.
headersThe DRMToday headers for FairPlay, defaults to nil.
tokenThe DRMToday token, defaults to nil.
userIdThe DRMToday user ID, defaults to nil.
sessionIdThe DRMToday session ID, defaults to nil.
merchantThe DRMToday merchant, default to nil.
licenseTypeThe type of license for FairPlay, defaults to
temporary.
DRMTodayDRMConfiguration Class Reference