AgoraChatSDK 1.2.0
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
16typedef NS_ENUM(NSInteger, AgoraChatSilentModeParamType) {
17 AgoraChatSilentModeParamTypeRemindType = 0 ,
21 AgoraChatSilentModeParamTypeDuration ,
27 AgoraChatSilentModeParamTypeInterval,
34};
35
40typedef NS_ENUM(NSInteger, AgoraChatPushRemindType) {
41
42 AgoraChatPushRemindTypeAll ,
46 AgoraChatPushRemindTypeMentionOnly,
51 AgoraChatPushRemindTypeNone,
56} ;
57
62@interface AgoraChatSilentModeParam : NSObject
71@property (nonatomic, assign, readonly) AgoraChatSilentModeParamType paramType;
77@property (nonatomic, assign) int silentModeDuration;
82@property (nonatomic, assign) AgoraChatPushRemindType remindType;
90@property (nonatomic, strong) AgoraChatSilentModeTime *_Nullable silentModeStartTime;
98@property (nonatomic, strong) AgoraChatSilentModeTime *_Nullable silentModeEndTime;
99
100- (instancetype _Nonnull)initWithParamType:(AgoraChatSilentModeParamType)aParamType;
101@end
102
Definition: AgoraChatSilentModeParam.h:63
AgoraChatSilentModeTime *_Nullable silentModeStartTime
Definition: AgoraChatSilentModeParam.h:90
AgoraChatPushRemindType remindType
Definition: AgoraChatSilentModeParam.h:82
int silentModeDuration
Definition: AgoraChatSilentModeParam.h:77
AgoraChatSilentModeTime *_Nullable silentModeEndTime
Definition: AgoraChatSilentModeParam.h:98
AgoraChatSilentModeParamType paramType
Definition: AgoraChatSilentModeParam.h:71
Definition: AgoraChatSilentModeTime.h:17