ShengwangChatSDK 1.3.2
构造函数 | 属性 | 所有成员列表
AgoraChatSilentModeParam类 参考

#import <AgoraChatSilentModeParam.h>

类 AgoraChatSilentModeParam 继承关系图:

构造函数

(instancetype _Nonnull) - initWithParamType:
 

属性

AgoraChatSilentModeParamType paramType
 
int silentModeDuration
 
AgoraChatPushRemindType remindType
 
AgoraChatSilentModeTime *_Nullable silentModeStartTime
 
AgoraChatSilentModeTime *_Nullable silentModeEndTime
 

详细描述

The silent message params object

属性说明

◆ paramType

- (AgoraChatSilentModeParamType) paramType
readnonatomicassign

Parameter type for silent messages.

If parmType is AgoraChatSilentModeParamTypeRemindType,only the remindType parameter is set. If parmType is AgoraChatSilentModeParamTypeDuration,only the silentModeDuration parameter is set. If parmType is AgoraChatSilentModeParamTypeInterval,only the silentModeStartTime and silentModeEndTime parameters are set.

◆ remindType

- (AgoraChatPushRemindType) remindType
readwritenonatomicassign

The remind type for push messages.

◆ silentModeDuration

- (int) silentModeDuration
readwritenonatomicassign

The duration for silent messages (in minute). A value of 0 indicates that silent messages is disabled,A maximum of 7 x 24 x 60 minutes can be set.An expiration timestamp is returned, disabled return 0.

◆ silentModeEndTime

- (AgoraChatSilentModeTime* _Nullable) silentModeEndTime
readwritenonatomicstrong

The end time of interval type for application push silent mode.

Note: The start time and end time must be both specified.

◆ silentModeStartTime

- (AgoraChatSilentModeTime* _Nullable) silentModeStartTime
readwritenonatomicstrong

The start time of interval type for application push silent mode.

Note: The start time and end time must be both specified.


该类的文档由以下文件生成: