OTVDRM
public class OTVDRM : NSObject
-
The shared
OTVDRMInfo
instance.Declaration
Swift
@objc public static let shared: OTVDRM
-
Returns the DRMInfo supported for the device.
Declaration
Swift
@objc public func getDRMInfo() -> [OTVDRMInfo]
Return Value
An array of OTVDRMInfo objects for the users device.
-
Returns the OTVDRMInfo support of the contentType passed in.
Declaration
Swift
@objc public func getDRMInfo(drmName: String, mediaType: String, contentType: String) -> [OTVDRMInfo]
Return Value
An array of OTVDRMInfo objects for the users device based on if the contentType passed is supported and the security level of that support.