Chat SDK for Android v1.2.1
agora java chat SDK
Classes | Public Member Functions | List of all members
io.agora.chat.SilentModeParam Class Reference

Inherits io.agora.chat.EMBase< T >.

Classes

enum  SilentModeParamType
 

Public Member Functions

 SilentModeParam (SilentModeParamType paramType)
 
SilentModeParam setParamType (SilentModeParamType paramType)
 
SilentModeParam setRemindType (PushManager.PushRemindType remindType)
 
SilentModeParam setSilentModeDuration (int silentDuration)
 
SilentModeParam setSilentModeInterval (SilentModeTime startTime, SilentModeTime endTime)
 

Detailed Description

The offline push parameter entity class.

Constructor & Destructor Documentation

◆ SilentModeParam()

io.agora.chat.SilentModeParam.SilentModeParam ( SilentModeParamType  paramType)

Parameterized constructor.

Parameters
paramTypeThe parameter type.

Member Function Documentation

◆ setParamType()

SilentModeParam io.agora.chat.SilentModeParam.setParamType ( SilentModeParamType  paramType)

Sets the parameter type.

Parameters
paramTypeThe parameter type.

◆ setRemindType()

SilentModeParam io.agora.chat.SilentModeParam.setRemindType ( PushManager.PushRemindType  remindType)

Sets the offline push notification type.

Parameters
remindTypeThe offline push notification type.

◆ setSilentModeDuration()

SilentModeParam io.agora.chat.SilentModeParam.setSilentModeDuration ( int  silentDuration)

Sets the do-not-disturb duration for offline push.

Parameters
silentDurationThe do-not-disturb duration in minutes.

◆ setSilentModeInterval()

SilentModeParam io.agora.chat.SilentModeParam.setSilentModeInterval ( SilentModeTime  startTime,
SilentModeTime  endTime 
)

Sets the do-not-disturb time frame for offline push.

Parameters
startTimeThe start time of the do-not-disturb time frame.
endTimeThe end time of the do-not-disturb time frame.

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