HyphenateSDK  3.6.1
EMPushOptions.h
1 
15 #import <Foundation/Foundation.h>
16 
17 #define kPushNickname @"nickname"
18 #define kPushDisplayStyle @"notification_display_style"
19 #define kPushNoDisturbing @"notification_no_disturbing"
20 #define kPushNoDisturbingStartH @"notification_no_disturbing_start"
21 #define kPushNoDisturbingStartM @"notification_no_disturbing_startM"
22 #define kPushNoDisturbingEndH @"notification_no_disturbing_end"
23 #define kPushNoDisturbingEndM @"notification_no_disturbing_endM"
24 
32 typedef enum {
33  EMPushDisplayStyleSimpleBanner = 0,
40  EMPushDisplayStyleMessageSummary,
47 } EMPushDisplayStyle;
48 
56 typedef enum {
57  EMPushNoDisturbStatusDay = 0,
58  EMPushNoDisturbStatusCustom,
59  EMPushNoDisturbStatusClose,
60 } EMPushNoDisturbStatus;
61 
69 @interface EMPushOptions : NSObject
70 
78 @property (nonatomic, copy) NSString *displayName;
79 
87 @property (nonatomic) EMPushDisplayStyle displayStyle;
88 
96 @property (nonatomic) EMPushNoDisturbStatus noDisturbStatus;
97 
105 @property (nonatomic) NSInteger noDisturbingStartH;
106 
114 @property (nonatomic) NSInteger noDisturbingEndH;
115 
116 #pragma mark - EM_DEPRECATED_IOS
117 
118 @property (nonatomic, copy) NSString *nickname __deprecated_msg("Use - displayName");
119 
120 
121 @end
Definition: EMPushOptions.h:69
EMPushDisplayStyle displayStyle
Definition: EMPushOptions.h:87
EMPushNoDisturbStatus noDisturbStatus
Definition: EMPushOptions.h:96
NSString * displayName
Definition: EMPushOptions.h:78
NSInteger noDisturbingEndH
Definition: EMPushOptions.h:114
NSInteger noDisturbingStartH
Definition: EMPushOptions.h:105