OTVWatermark
@interface OTVWatermark : NSObject
Integration Nexguard watermark support on iOS Platform.
-
Returns an instance of
OTVWatermarkthat will bind toUIViewto watermark.-
Return instance: An instance of
OTVWatermark
\param secret The specified secret used by QuickMark core.
Declaration
Objective-C
- (nullable instancetype)initWithSecret:(NSString *_Nonnull)secret; -
Return instance: An instance of
-
Returns an instance of
OTVWatermarkthat will bind toUIViewto watermark.-
Return instance: An instance of
OTVWatermark
\param url The specified url used by QuickMark core.
\param token The specified token used by QuickMark core.
\param tenant The specified tenant used by QuickMark core.
\param secret The specified secret used by QuickMark core.
Declaration
Objective-C
- (nullable instancetype)initWithUrl:(NSString *_Nonnull)url token:(NSString *_Nonnull)token tenant:(NSString *_Nonnull)tenant secret:(NSString *_Nonnull)secret; -
Return instance: An instance of
-
Set the specified token used by QuickMark core \param token The token for the QuickMark web view.
Declaration
Objective-C
- (void)setWithToken:(NSString *_Nonnull)token; -
Set the specified url used by QuickMark core \param url The url for the QuickMark web view.
Declaration
Objective-C
- (void)setWithUrl:(NSString *_Nonnull)url; -
Set the specified tenant used by QuickMark core \param tenant The tenant for the QuickMark web view.
Declaration
Objective-C
- (void)setWithTenant:(NSString *_Nonnull)tenant; -
Get the version of the QuickMark web view.
- Return version: A version string
Declaration
Objective-C
- (void)setWithApiKey:(NSString *_Nonnull)apiKey; -
Get the version of the QuickMark web view.
- Return version: A version string
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull quickmarkVersion; -
Get the core version of the QuickMark.
- Return quickmarkCoreVersion: A version string
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nullable quickmarkCoreVersion; -
Bind a
UIViewwith QuickMark web view. \param playerViewUIViewas parent view.t\param playerLayer
AVPlayerLayerused byAVPlayerfor playback.Declaration
Objective-C
- (void)bindWithPlayerView:(UIView *_Nonnull)playerView playerLayer:(AVPlayerLayer *_Nonnull)playerLayer; -
Unbind with player’s view, stop watermark.
Declaration
Objective-C
- (void)unbind;
OTVWatermark Class Reference