OpenTV Player SDK For iOS  version 2.30.0
NMPWatermark.h
Go to the documentation of this file.
1 
14 #import "NMPWatermarkDelegate.h"
15 
16 #import <UIKit/UIKit.h>
17 #import <AVFoundation/AVFoundation.h>
18 
24 @interface NMPWatermark: NSObject
25 
31 @property (nonatomic, weak) id<NMPWatermarkDelegate> delegate;
32 
41 - (instancetype)initWithSecret:(NSString*)secret;
42 
57 - (instancetype)initWithUrl:(NSString *)Url withToken:(NSString *)token withTenant:(NSString *)tenant withSecret:(NSString*)secret NS_DESIGNATED_INITIALIZER;
58 
65 - (void)setToken:(NSString *)token;
66 
73 - (void)setUrl:(NSString *)url;
74 
81 - (void)setTenant:(NSString *)tenant;
82 
90 - (void)setApiKey:(NSString *)apiKey;
91 
98 - (NSString *)quickmarkVersion;
99 
106 - (NSString *)quickmarkCoreVersion;
107 
116 - (void)bind:(UIView *)playView withAVPlayerLayer:(AVPlayerLayer *)layer;
117 
122 - (void)unbind;
123 
124 @end
125 
Created on 09/20/2018.
NSString * quickmarkCoreVersion()
Get the core version of the QuickMark.
Integration Nexguard watermark support on iOS Platform.
Definition: NMPWatermark.h:24
id< NMPWatermarkDelegate > delegate
delegate for receiving watermark message or error information.
Definition: NMPWatermark.h:31
NSString * quickmarkVersion()
Get the version of the QuickMark web view.
void unbind()
Unbind with player's view, stop watermark.