DRMTodayDRMConfiguration
@available(*, deprecated, message: "All DRM pre-integrations are deprecated and will be removed in later versions. Please use the custom integration approach instead. For more info, check the guide and sample app at: https://github.com/THEOplayer/samples-ios-sdk/tree/master/DRM-Playback")
@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
token
The DRMToday token, defaults to nil.
userId
The DRMToday user ID, defaults to nil.
sessionId
The DRMToday session ID, defaults to nil.
merchant
The DRMToday merchant, default to nil.
licenseType
The type of license for FairPlay, defaults to
temporary
.keySystemConfigurations
the key system configurations (FairPlay, Widevide).