AgoraChatSDK 1.0.7
AgoraChatSilentModeParam.h
1//
2// AgoraChatSilentModeParam.h
3// AgoraChat
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 "AgoraChatSilentModeTime.h"
11
19typedef NS_ENUM(NSInteger, AgoraChatSilentModeParamType) {
20 AgoraChatSilentModeParamTypeRemindType = 0 ,
27 AgoraChatSilentModeParamTypeDuration ,
36 AgoraChatSilentModeParamTypeInterval,
46};
47
55typedef NS_ENUM(NSInteger, AgoraChatPushRemindType) {
56
57 AgoraChatPushRemindTypeAll ,
64 AgoraChatPushRemindTypeMentionOnly,
72 AgoraChatPushRemindTypeNone,
80} ;
81
82@interface AgoraChatSilentModeParam : NSObject
98@property (nonatomic, assign, readonly) AgoraChatSilentModeParamType paramType;
108@property (nonatomic, assign) int silentModeDuration;
116@property (nonatomic, assign) AgoraChatPushRemindType remindType;
129@property (nonatomic, strong) AgoraChatSilentModeTime *_Nullable silentModeStartTime;
142@property (nonatomic, strong) AgoraChatSilentModeTime *_Nullable silentModeEndTime;
143
144- (instancetype _Nonnull)initWithParamType:(AgoraChatSilentModeParamType)aParamType;
145@end
146
Definition: AgoraChatSilentModeParam.h:83
AgoraChatSilentModeTime *_Nullable silentModeStartTime
Definition: AgoraChatSilentModeParam.h:129
AgoraChatPushRemindType remindType
Definition: AgoraChatSilentModeParam.h:116
int silentModeDuration
Definition: AgoraChatSilentModeParam.h:108
AgoraChatSilentModeTime *_Nullable silentModeEndTime
Definition: AgoraChatSilentModeParam.h:142
AgoraChatSilentModeParamType paramType
Definition: AgoraChatSilentModeParam.h:98
Definition: AgoraChatSilentModeTime.h:13