AgoraChatSDK 1.2.0
Instance Methods | Properties | List of all members
AgoraChatSilentModeParam Class Reference

#import <AgoraChatSilentModeParam.h>

Inheritance diagram for AgoraChatSilentModeParam:

Instance Methods

(instancetype _Nonnull) - initWithParamType:
 

Properties

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

Detailed Description

The silent message params object

Property Documentation

◆ 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 silent messages.

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

◆ silentModeStartTime

- (AgoraChatSilentModeTime* _Nullable) silentModeStartTime
readwritenonatomicstrong

The start time of interval type for silent messages.

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


The documentation for this class was generated from the following file: