Integration Nexguard watermark support on iOS Platform.
More...
#import <NMPWatermark.h>
Integration Nexguard watermark support on iOS Platform.
Definition at line 24 of file NMPWatermark.h.
◆ bind:withAVPlayerLayer:()
| - (void) bind: |
|
(UIView *) |
playView |
| withAVPlayerLayer: |
|
(AVPlayerLayer *) |
layer |
|
|
| |
Bind a uiview with quickmark web view.
- Parameters
-
| [in] | playView | UIView as parent view. |
| [in] | layer | AVPlayerLayer used by AVPlayer for playback. |
◆ initWithSecret:()
| - (instancetype) initWithSecret: |
|
(NSString *) |
secret |
|
Returns an instance of NMPWatermark that will bind to uiview to watermark.
- Parameters
-
| [in] | secret | The specified secret used by QuickMark core |
- Returns
- An instance of NMPWatermark
◆ initWithUrl:withToken:withTenant:withSecret:()
| - (instancetype) initWithUrl: |
|
(NSString *) |
Url |
| withToken: |
|
(NSString *) |
token |
| withTenant: |
|
(NSString *) |
tenant |
| withSecret: |
|
(NSString *) |
NS_DESIGNATED_INITIALIZER |
|
|
| |
Returns an instance of NMPWatermark that will bind to uiview to watermark.
- Parameters
-
| [in] | URL | The specified url used by QuickMark core. |
| [in] | token | The specified token used by QuickMark core |
| [in] | tenant | The specified tenant used by QuickMark core |
| [in] | secret | The specified secret used by QuickMark core |
- Returns
- An instance of NMPWatermark
◆ quickmarkCoreVersion()
| - (NSString *) quickmarkCoreVersion |
|
|
|
Get the core version of the QuickMark.
- Returns
- : A version string
◆ quickmarkVersion()
| - (NSString *) quickmarkVersion |
|
|
|
Get the version of the QuickMark web view.
- Returns
- : A version string
◆ setApiKey:()
| - (void) setApiKey: |
|
(NSString *) |
apiKey |
|
Set the specified api key used by QuickMark core.
- Parameters
-
| [in] | apiKey | The API key for the QuickMark web view. |
- Note
- : The API key is optionnal.
◆ setTenant:()
| - (void) setTenant: |
|
(NSString *) |
tenant |
|
set the specified tenant used by QuickMark core
- Parameters
-
| [in] | tenant | The tenant for the QuickMark web view. |
◆ setToken:()
| - (void) setToken: |
|
(NSString *) |
token |
|
Set the specified token used by QuickMark core.
- Parameters
-
| [in] | token | The token for the QuickMark web view. |
◆ setUrl:()
| - (void) setUrl: |
|
(NSString *) |
url |
|
Set the specified url used by QuickMark core.
- Parameters
-
| [in] | url | The url for the QuickMark web view. |
◆ unbind()
Unbind with player's view, stop watermark.
◆ delegate
delegate for receiving watermark message or error information.
Definition at line 31 of file NMPWatermark.h.