OpenTV Player SDK For iOS
version 2.30.0
NMPWatermark.h
Go to the documentation of this file.
1
2
// * @defgroup Watermark Watermark
3
// * Feature to support Nexguard Watermark.
4
// *
5
// * @file NMPWatermark.h
6
// *
7
// * Created on 09/20/2018
8
// *
9
// * Copyright(c) 2018 Nagravision S.A, All Rights Reserved.
10
// * This software is the proprietary information of Nagravision S.A.
11
// *
12
// **/
13
//
14
//#import "NMPWatermarkDelegate.h"
15
//
16
//#import <UIKit/UIKit.h>
17
//#import <AVFoundation/AVFoundation.h>
18
//
20
// * @ingroup Watermark
21
// *
22
// * Integration Nexguard watermark support on iOS Platform.
23
// */
24
//@interface NMPWatermark: NSObject
25
//
27
// * @brief
28
// * delegate for receiving watermark message or error information.
29
// *
30
// */
31
//@property (nonatomic, weak) id<NMPWatermarkDelegate> delegate;
32
//
34
// * @brief
35
// * Returns an instance of NMPWatermark that will bind to uiview to watermark.
36
// * @param [in] secret
37
// * The specified secret used by QuickMark core
38
// * @return
39
// * An instance of NMPWatermark
40
// */
41
//- (instancetype)initWithSecret:(NSString*)secret;
42
//
44
// * @brief
45
// * Returns an instance of NMPWatermark that will bind to uiview to watermark.
46
// * @param [in] URL
47
// * The specified url used by QuickMark core.
48
// * @param [in] token
49
// * The specified token used by QuickMark core
50
// * @param [in] tenant
51
// * The specified tenant used by QuickMark core
52
// * @param [in] secret
53
// * The specified secret used by QuickMark core
54
// * @return
55
// * An instance of NMPWatermark
56
// */
57
//- (instancetype)initWithUrl:(NSString *)Url withToken:(NSString *)token withTenant:(NSString *)tenant withSecret:(NSString*)secret NS_DESIGNATED_INITIALIZER;
58
//
60
// * @brief
61
// * Set the specified token used by QuickMark core
62
// * @param [in] token
63
// * The token for the QuickMark web view.
64
// */
65
//- (void)setToken:(NSString *)token;
66
//
68
// * @brief
69
// * Set the specified url used by QuickMark core
70
// * @param [in] url
71
// * The url for the QuickMark web view.
72
// */
73
//- (void)setUrl:(NSString *)url;
74
//
76
// * @brief
77
// * set the specified tenant used by QuickMark core
78
// * @param [in] tenant
79
// * The tenant for the QuickMark web view.
80
// */
81
//- (void)setTenant:(NSString *)tenant;
82
//
84
// * @brief
85
// * Set the specified api key used by QuickMark core
86
// * @param [in] apiKey
87
// * The API key for the QuickMark web view.
88
// * @note: The API key is optionnal.
89
// */
90
//- (void)setApiKey:(NSString *)apiKey;
91
//
93
// * @brief
94
// * Get the version of the QuickMark web view.
95
// * @return:
96
// * A version string
97
// */
98
//- (NSString *)quickmarkVersion;
99
//
101
// * @brief
102
// * Get the core version of the QuickMark.
103
// * @return:
104
// * A version string
105
// */
106
//- (NSString *)quickmarkCoreVersion;
107
//
109
// * @brief
110
// * Bind a uiview with quickmark web view.
111
// * @param [in] playView
112
// * UIView as parent view.
113
// * @param [in] layer
114
//* AVPlayerLayer used by AVPlayer for playback.
115
// */
116
//- (void)bind:(UIView *)playView withAVPlayerLayer:(AVPlayerLayer *)layer;
117
//
119
// * @brief
120
// * Unbind with player's view, stop watermark.
121
// */
122
//- (void)unbind;
123
//
124
//@end
125
//
build
Debug-iphoneos
include
NMPWatermark.h
Generated on Wed Apr 19 2023 11:31:52 for OpenTV Player SDK For iOS by
1.9.4