SourceDrmFairplayApi
@objc(BMPSourceDrmFairplayApi)
@objcMembers
public class SourceDrmFairplayApi : NSObject
Provides the means to manage FairPlay DRM on a Source
.
Accessible through Source.drm.fairplay
.
-
Triggers FairPlay license renewal based on
FairplayContentKeyRequest
, which can be acquired via listening toFairplayLicenseAcquiredEvent
event and taking the value ofcontentKeyRequest
property.Declaration
Swift
public func renewExpiringLicense(for contentKeyRequest: FairplayContentKeyRequest)
Parameters
contentKeyRequest
content key request for a single key.