OTVDRMManager
@interface OTVDRMManager : NSObject
The OTVDRMManager class sets up an instance of DRM based upon OTVLicenseDelegate.
-
Declaration
Objective-C
@property (nonatomic, class, readonly, strong) OTVDRMManager * _Nonnull shared -
Set the license delegate for
OTVDRMManagerbased onOTVLicenseDelegate. note: The delegate is held using a zeroing-weak reference, so it have a value of nil after it has been deallocated outside. Ensure the delegate is retained until it is not need by player. \param delegate An instance ofOTVLicenseDelegate.Declaration
Objective-C
- (void)setLicenseDelegate:(id<OTVLicenseDelegate> _Nonnull)delegate; -
Declaration
Objective-C
- (void)requestLicenseWithIdentifier:(NSString * _Nonnull)identifier license:(NSDictionary<NSString *, id> * _Nullable)options; -
Declaration
Objective-C
- (BOOL)eraseOfflineLicenseWithIdentifier:(NSString * _Nonnull)identifier SWIFT_WARN_UNUSED_RESULT;
OTVDRMManager Class Reference