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
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).
DRMTodayDRMConfiguration Class Reference