9#import <Foundation/Foundation.h>
10#import "EMCommonDefs.h"
11#import "EMPushOptions.h"
13#import "EMCursorResult.h"
14#import "EMSilentModeResult.h"
16NS_ASSUME_NONNULL_BEGIN
52@property (nonatomic, strong, readonly) NSArray *noPushUIds
65@property (nonatomic, strong, readonly) NSArray *noPushGroups
113- (
EMError *)disableOfflinePushStart:(
int)aStartHour end:(
int)aEndHour
114EM_DEPRECATED_IOS(3_7_3, 3_9_1, "Use -setSilentModeForAll:completion: instead");
139- (
EMError *)updatePushServiceForGroups:(NSArray *)aGroupIds
140 disablePush:(BOOL)disable
141EM_DEPRECATED_IOS(3_7_4, 3_9_1, "Use -setSilentModeForConversation:conversationType:params:completion: instead");
165- (void)updatePushServiceForGroups:(NSArray *)aGroupIds
166 disablePush:(BOOL)disable
167 completion:(nonnull
void (^)(
EMError * aError))aCompletionBlock
168EM_DEPRECATED_IOS(3_7_4, 3_9_1, "Use -setSilentModeForConversation:conversationType: params:completion: instead");
193- (
EMError *)updatePushServiceForUsers:(NSArray *)aUIds
194 disablePush:(BOOL)disable
195EM_DEPRECATED_IOS(3_8_4, 3_9_1, "Use -setSilentModeForConversation:conversationType: params:completion: instead");
218- (void)updatePushServiceForUsers:(NSArray *)aUIds
219 disablePush:(BOOL)disable
220 completion:(nonnull
void (^)(
EMError * aError))aCompletionBlock
221EM_DEPRECATED_IOS(3_8_4, 3_9_1, "Use -setSilentModeForConversation:conversationType: params:completion: instead");
242- (
EMError *)updatePushDisplayStyle:(EMPushDisplayStyle)pushDisplayStyle;
262- (void)updatePushDisplayStyle:(EMPushDisplayStyle)pushDisplayStyle
263 completion:(
void (^ _Nullable)(
EMError * _Nullable aError))aCompletionBlock;
285- (
EMError *_Nullable )updatePushDisplayName:(NSString * _Nonnull)aDisplayName;
305- (void)updatePushDisplayName:(NSString * _Nonnull)aDisplayName
306 completion:(
void (^_Nullable)(NSString * _Nullable aDisplayName,
EMError * _Nullable aError))aCompletionBlock;
329- (
EMPushOptions *_Nullable )getPushOptionsFromServerWithError:(
EMError *_Nullable *_Nullable)pError;
346- (void)getPushNotificationOptionsFromServerWithCompletion:(
void (^_Nullable )(
EMPushOptions *_Nullable aOptions,
EMError *_Nullable aError))aCompletionBlock;
376-(void)getSilentModeForAllWithCompletion:(
void (^_Nullable )(
EMSilentModeResult *_Nullable aResult,
EMError *_Nullable aError))aCompletionBlock;
389- (void)syncSilentModeConversationsFromServerCompletion:(
void (^_Nullable )(
EMError *_Nullable error))completionBlock;
412- (void)setSilentModeForConversation:(NSString*_Nonnull)aConversationId
413 conversationType:(EMConversationType)aConversationType
433- (void)getSilentModeForConversation:(NSString*_Nonnull)aConversationId
434 conversationType:(EMConversationType)aConversationType
454- (void)clearRemindTypeForConversation:(NSString*_Nonnull)aConversationId
455 conversationType:(EMConversationType)aConversationType
474- (void)getSilentModeForConversations:(NSArray<
EMConversation *>*_Nonnull)aConversationArray
475 completion:(
void (^_Nullable )(NSDictionary<NSString*,
EMSilentModeResult*>*_Nullable aResult,
EMError *_Nullable aError))aCompletionBlock;
492- (void)setPreferredNotificationLanguage:(NSString*_Nullable)aLaguangeCode
493 completion:(
void (^_Nullable )(
EMError *_Nullable aError))aCompletionBlock;
506- (void)getPreferredNotificationLanguageCompletion:(
void (^_Nullable )(NSString *_Nullable aLaguangeCode,
EMError *_Nullable aError))aCompletionBlock;
523- (void)setPushTemplate:(NSString* _Nullable)aPushTemplateName
524 completion:(
void (^ _Nullable)(
EMError *_Nullable aError))aCompletionBlock;
537- (void)getPushTemplate:(
void (^ _Nullable)(NSString *_Nullable aPushTemplateName,
EMError *_Nullable aError))aCompletionBlock;
Definition: EMConversation.h:115
Definition: EMPushOptions.h:58
Definition: EMSilentModeParam.h:90
Definition: EMSilentModeResult.h:21
Definition: IEMPushManager.h:31
EMPushOptions *_Nullable pushOptions
Definition: IEMPushManager.h:41
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")