OpenTV Player SDK For iOS  version 2.30.0
NMPWatermarkDelegate.h
Go to the documentation of this file.
1
2// * @defgroup Watermark Watermark
3// * Feature to support Nexguard Watermark.
4// *
5// * @file NMPWatermarkDelegate.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//typedef NS_ENUM(NSInteger, NMPWatermarkError) {
15// //! No issue
16// NO_ERROR = 0,
17//
18// //! Token is not valid
19// INVALID_TOKEN = 1,
20//
21// //! Url or Tenant is not valid
22// INVALID_URL = 2,
23//
24// //! Server request failed
25// CANNOT_CONTACT_SERVER = 3,
26//
27// //! Invalid server answer
28// INVALID_SERVER_ANSWER = 4,
29//
30// //! Invalid secret
31// INVALID_SECRET = 5,
32//};
33//
35// * @ingroup Watermark
36// *
37// * @brief
38// * Delegate to receive message and error from quickmark.
39// */
40//@protocol NMPWatermarkDelegate
41//
43// * @brief
44// * Status message management.
45// */
46//- (void)onWatermarkMessage:(NSString*)message;
47//
49// * @brief
50// * Status error management.
51// */
52//- (void)onWatermarkError:(NMPWatermarkError)error withMessage:(NSString*)message;
53//
54//@end