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;
397- (void)setSilentModeForConversation:(NSString*_Nonnull)aConversationId
398 conversationType:(EMConversationType)aConversationType
418- (void)getSilentModeForConversation:(NSString*_Nonnull)aConversationId
419 conversationType:(EMConversationType)aConversationType
439- (void)clearRemindTypeForConversation:(NSString*_Nonnull)aConversationId
440 conversationType:(EMConversationType)aConversationType
459- (void)getSilentModeForConversations:(NSArray<
EMConversation *>*_Nonnull)aConversationArray
460 completion:(
void (^_Nullable )(NSDictionary<NSString*,
EMSilentModeResult*>*_Nullable aResult,
EMError *_Nullable aError))aCompletionBlock;
477- (void)setPreferredNotificationLanguage:(NSString*_Nullable)aLaguangeCode
478 completion:(
void (^_Nullable )(
EMError *_Nullable aError))aCompletionBlock;
491- (void)getPreferredNotificationLanguageCompletion:(
void (^_Nullable )(NSString *_Nullable aLaguangeCode,
EMError *_Nullable aError))aCompletionBlock;
508- (void)setPushTemplate:(NSString* _Nullable)aPushTemplateName
509 completion:(
void (^ _Nullable)(
EMError *_Nullable aError))aCompletionBlock;
522- (void)getPushTemplate:(
void (^ _Nullable)(NSString *_Nullable aPushTemplateName,
EMError *_Nullable aError))aCompletionBlock;
Definition: EMConversation.h:55
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")