15#import <Foundation/Foundation.h>
16#import "AgoraChatCommonDefs.h"
18#define kPushNickname @"nickname"
19#define kPushDisplayStyle @"notification_display_style"
20#define kPushNoDisturbing @"notification_no_disturbing"
21#define kPushNoDisturbingStartH @"notification_no_disturbing_start"
22#define kPushNoDisturbingStartM @"notification_no_disturbing_startM"
23#define kPushNoDisturbingEndH @"notification_no_disturbing_end"
24#define kPushNoDisturbingEndM @"notification_no_disturbing_endM"
33typedef NS_ENUM(NSInteger, AgoraChatPushDisplayStyle) {
34 AgoraChatPushDisplayStyleSimpleBanner = 0,
41 AgoraChatPushDisplayStyleMessageSummary,
66@property (nonatomic, strong, readonly) NSString * _Nullable
displayName;
75@property (nonatomic, readonly) AgoraChatPushDisplayStyle
displayStyle;
87@property (nonatomic, readonly) NSInteger silentModeStart
88EM_DEPRECATED_IOS(3_8_8, 3_9_1,
"Use AgoraChatSilentModeResult property silentModeStartTime instead");
99@property (nonatomic, readonly) NSInteger silentModeEnd
100EM_DEPRECATED_IOS(3_8_8, 3_9_1,
"Use AgoraChatSilentModeResult property silentModeEndTime instead");
112@property (nonatomic, readonly) BOOL silentModeEnabled
113EM_DEPRECATED_IOS(3_8_8, 3_9_1,
"Use AgoraChatSilentModeResult property expireTimestamp and silentModeTime determine whether to enable");
116#pragma mark - EM_DEPRECATED_IOS 3.8.8
124@property (nonatomic, readonly) NSInteger noDisturbingStartH
134@property (nonatomic, readonly) NSInteger noDisturbingEndH
145@property (nonatomic, readonly) BOOL isNoDisturbEnable
Definition: AgoraChatPushOptions.h:58
AgoraChatPushDisplayStyle displayStyle
Definition: AgoraChatPushOptions.h:75
NSString *_Nullable displayName
Definition: AgoraChatPushOptions.h:66
NSInteger noDisturbingStartH __deprecated_msg("Use silentModeStart instead")
BOOL isNoDisturbEnable __deprecated_msg("Use silentModeEnabled instead")
BOOL silentModeEnabled EM_DEPRECATED_IOS(3_8_8, 3_9_1, "Use AgoraChatSilentModeResult property expireTimestamp and silentModeTime determine whether to enable")
NSInteger silentModeEnd EM_DEPRECATED_IOS(3_8_8, 3_9_1, "Use AgoraChatSilentModeResult property silentModeEndTime instead")
NSInteger noDisturbingEndH __deprecated_msg("Use silentModeEnd instead")
NSInteger silentModeStart EM_DEPRECATED_IOS(3_8_8, 3_9_1, "Use AgoraChatSilentModeResult property silentModeStartTime instead")