9#import <Foundation/Foundation.h>
10#import "AgoraChatCommonDefs.h"
11#import "AgoraChatPushOptions.h"
12#import "AgoraChatError.h"
13#import "AgoraChatCursorResult.h"
14#import "AgoraChatSilentModeResult.h"
16NS_ASSUME_NONNULL_BEGIN
39@property (nonatomic, strong, readonly) NSArray *noPushUIds
47@property (nonatomic, strong, readonly) NSArray *noPushGroups
76- (
AgoraChatError *)disableOfflinePushStart:(
int)aStartHour end:(
int)aEndHour
77EM_DEPRECATED_IOS(3_7_3, 3_9_1, "Use -setSilentModeForAll:completion: instead");
92 disablePush:(BOOL)disable
93EM_DEPRECATED_IOS(3_7_4, 3_9_1, "Use -setSilentModeForConversation:conversationType:params:completion: instead");
107- (void)updatePushServiceForGroups:(NSArray *)aGroupIds
108 disablePush:(BOOL)disable
109 completion:(nonnull
void (^)(
AgoraChatError * aError))aCompletionBlock
110EM_DEPRECATED_IOS(3_7_4, 3_9_1, "Use -setSilentModeForConversation:conversationType: params:completion: instead");
125 disablePush:(BOOL)disable
126EM_DEPRECATED_IOS(3_8_4, 3_9_1, "Use -setSilentModeForConversation:conversationType: params:completion: instead");
139- (void)updatePushServiceForUsers:(NSArray *)aUIds
140 disablePush:(BOOL)disable
141 completion:(nonnull
void (^)(
AgoraChatError * aError))aCompletionBlock
142EM_DEPRECATED_IOS(3_8_4, 3_9_1, "Use -setSilentModeForConversation:conversationType: params:completion: instead");
154- (
AgoraChatError *)updatePushDisplayStyle:(AgoraChatPushDisplayStyle)pushDisplayStyle;
166- (void)updatePushDisplayStyle:(AgoraChatPushDisplayStyle)pushDisplayStyle
167 completion:(
void (^ _Nullable)(
AgoraChatError * _Nullable aError))aCompletionBlock;
180- (
AgoraChatError *_Nullable )updatePushDisplayName:(NSString * _Nonnull)aDisplayName;
192- (void)updatePushDisplayName:(NSString * _Nonnull)aDisplayName
193 completion:(
void (^_Nullable)(NSString * _Nullable aDisplayName,
AgoraChatError * _Nullable aError))aCompletionBlock;
217- (void)getPushNotificationOptionsFromServerWithCompletion:(
void (^_Nullable )(
AgoraChatPushOptions *_Nullable aOptions,
AgoraChatError *_Nullable aError))aCompletionBlock;
248- (void)setSilentModeForConversation:(NSString*_Nonnull)aConversationId
249 conversationType:(AgoraChatConversationType)aConversationType
262- (void)getSilentModeForConversation:(NSString*_Nonnull)aConversationId
263 conversationType:(AgoraChatConversationType)aConversationType
276- (void)clearRemindTypeForConversation:(NSString*_Nonnull)aConversationId
277 conversationType:(AgoraChatConversationType)aConversationType
301- (void)setPreferredNotificationLanguage:(NSString*_Nullable)aLaguangeCode
302 completion:(
void (^_Nullable )(
AgoraChatError *_Nullable aError))aCompletionBlock;
311- (void)getPreferredNotificationLanguageCompletion:(
void (^_Nullable )(NSString *_Nullable aLaguangeCode,
AgoraChatError *_Nullable aError))aCompletionBlock;
322- (void)setPushTemplate:(NSString* _Nullable)aPushTemplateName
323 completion:(
void (^ _Nullable)(
AgoraChatError *_Nullable aError))aCompletionBlock;
332- (void)getPushTemplate:(
void (^ _Nullable)(NSString *_Nullable aPushTemplateName,
AgoraChatError *_Nullable aError))aCompletionBlock;
Definition: AgoraChatConversation.h:47
Definition: AgoraChatError.h:18
Definition: AgoraChatPushOptions.h:40
Definition: AgoraChatSilentModeParam.h:63
Definition: AgoraChatSilentModeResult.h:18
Definition: IAgoraChatPushManager.h:25
3_7_3, 3_9_1, "Use -setSilentModeForAll:completion: instead" EM_DEPRECATED_IOS()
NSArray *noPushUIds EM_DEPRECATED_IOS(3_8_4, 3_9_1, "Use -getSilentModeForConversations:completion: instead")
AgoraChatPushOptions *_Nullable pushOptions
Definition: IAgoraChatPushManager.h:32