9#import <Foundation/Foundation.h>
10#import "AgoraChatCommonDefs.h"
12#define kPushNickname @"nickname"
13#define kPushDisplayStyle @"notification_display_style"
14#define kPushNoDisturbing @"notification_no_disturbing"
15#define kPushNoDisturbingStartH @"notification_no_disturbing_start"
16#define kPushNoDisturbingStartM @"notification_no_disturbing_startM"
17#define kPushNoDisturbingEndH @"notification_no_disturbing_end"
18#define kPushNoDisturbingEndM @"notification_no_disturbing_endM"
24typedef NS_ENUM(NSInteger, AgoraChatPushDisplayStyle) {
25 AgoraChatPushDisplayStyleSimpleBanner = 0,
29 AgoraChatPushDisplayStyleMessageSummary,
45@property (nonatomic, strong, readonly) NSString * _Nullable
displayName;
51@property (nonatomic, readonly) AgoraChatPushDisplayStyle
displayStyle;
59@property (nonatomic, readonly) NSInteger silentModeStart
60EM_DEPRECATED_IOS(3_8_8, 3_9_1,
"Use AgoraChatSilentModeResult property silentModeStartTime instead");
67@property (nonatomic, readonly) NSInteger silentModeEnd
68EM_DEPRECATED_IOS(3_8_8, 3_9_1,
"Use AgoraChatSilentModeResult property silentModeEndTime instead");
76@property (nonatomic, readonly) BOOL silentModeEnabled
77EM_DEPRECATED_IOS(3_8_8, 3_9_1,
"Use AgoraChatSilentModeResult property expireTimestamp and silentModeTime determine whether to enable");
80#pragma mark - EM_DEPRECATED_IOS 3.8.8
85@property (nonatomic, readonly) NSInteger noDisturbingStartH
92@property (nonatomic, readonly) NSInteger noDisturbingEndH
100@property (nonatomic, readonly) BOOL isNoDisturbEnable
Definition: AgoraChatPushOptions.h:40
AgoraChatPushDisplayStyle displayStyle
Definition: AgoraChatPushOptions.h:51
NSString *_Nullable displayName
Definition: AgoraChatPushOptions.h:45
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")