HyphenateChatSDK 3.9.9.1
EMSilentModeParam.h
1//
2// EMSilentModeParam.h
3// HyphenateChat
4//
5// Created by hxq on 2022/3/30.
6// Copyright © 2022 easemob.com. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import "EMSilentModeTime.h"
11
19typedef NS_ENUM(NSInteger, EMSilentModeParamType) {
20 EMSilentModeParamTypeRemindType = 0 ,
27 EMSilentModeParamTypeDuration ,
36 EMSilentModeParamTypeInterval,
46};
47
55typedef NS_ENUM(NSInteger, EMPushRemindType) {
56
57 EMPushRemindTypeAll ,
64 EMPushRemindTypeMentionOnly,
72 EMPushRemindTypeNone,
80} ;
81
89@interface EMSilentModeParam : NSObject
105@property (nonatomic, assign, readonly) EMSilentModeParamType paramType;
115@property (nonatomic, assign) int silentModeDuration;
123@property (nonatomic, assign) EMPushRemindType remindType;
136@property (nonatomic, strong) EMSilentModeTime *_Nullable silentModeStartTime;
149@property (nonatomic, strong) EMSilentModeTime *_Nullable silentModeEndTime;
150
151- (instancetype _Nonnull)initWithParamType:(EMSilentModeParamType)aParamType;
152@end
153
Definition: EMSilentModeParam.h:90
EMSilentModeParamType paramType
Definition: EMSilentModeParam.h:105
EMPushRemindType remindType
Definition: EMSilentModeParam.h:123
EMSilentModeTime *_Nullable silentModeStartTime
Definition: EMSilentModeParam.h:136
int silentModeDuration
Definition: EMSilentModeParam.h:115
EMSilentModeTime *_Nullable silentModeEndTime
Definition: EMSilentModeParam.h:149
Definition: EMSilentModeTime.h:20