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;
244- (void)syncSilentModeConversationsFromServerCompletion:(
void (^_Nullable )(
AgoraChatError *_Nullable error))completionBlock;
258- (void)setSilentModeForConversation:(NSString*_Nonnull)aConversationId
259 conversationType:(AgoraChatConversationType)aConversationType
272- (void)getSilentModeForConversation:(NSString*_Nonnull)aConversationId
273 conversationType:(AgoraChatConversationType)aConversationType
286- (void)clearRemindTypeForConversation:(NSString*_Nonnull)aConversationId
287 conversationType:(AgoraChatConversationType)aConversationType
311- (void)setPreferredNotificationLanguage:(NSString*_Nullable)aLaguangeCode
312 completion:(
void (^_Nullable )(
AgoraChatError *_Nullable aError))aCompletionBlock;
321- (void)getPreferredNotificationLanguageCompletion:(
void (^_Nullable )(NSString *_Nullable aLaguangeCode,
AgoraChatError *_Nullable aError))aCompletionBlock;
332- (void)setPushTemplate:(NSString* _Nullable)aPushTemplateName
333 completion:(
void (^ _Nullable)(
AgoraChatError *_Nullable aError))aCompletionBlock;
342- (void)getPushTemplate:(
void (^ _Nullable)(NSString *_Nullable aPushTemplateName,
AgoraChatError *_Nullable aError))aCompletionBlock;
Definition: AgoraChatConversation.h:87
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