hyphenate_SDK4.0 4.8.0
hyphenate java IM SDK
Classes | Public Member Functions | List of all members
com.hyphenate.chat.EMSilentModeParam Class Reference

Inherits com.hyphenate.chat.EMBase< T >.

Classes

enum  EMSilentModeParamType
 

Public Member Functions

 EMSilentModeParam (EMSilentModeParamType paramType)
 
EMSilentModeParam setParamType (EMSilentModeParamType paramType)
 
EMSilentModeParam setRemindType (EMPushManager.EMPushRemindType remindType)
 
EMSilentModeParam setSilentModeDuration (int silentDuration)
 
EMSilentModeParam setSilentModeInterval (EMSilentModeTime startTime, EMSilentModeTime endTime)
 

Detailed Description

The offline push parameter entity class.

Constructor & Destructor Documentation

◆ EMSilentModeParam()

com.hyphenate.chat.EMSilentModeParam.EMSilentModeParam ( EMSilentModeParamType  paramType)

Parameterized constructor.

Parameters
paramTypeThe parameter type.

Member Function Documentation

◆ setParamType()

EMSilentModeParam com.hyphenate.chat.EMSilentModeParam.setParamType ( EMSilentModeParamType  paramType)

Sets the parameter type.

Parameters
paramTypeThe parameter type.

◆ setRemindType()

EMSilentModeParam com.hyphenate.chat.EMSilentModeParam.setRemindType ( EMPushManager.EMPushRemindType  remindType)

Sets the offline push notification type.

Parameters
remindTypeThe offline push notification type.

◆ setSilentModeDuration()

EMSilentModeParam com.hyphenate.chat.EMSilentModeParam.setSilentModeDuration ( int  silentDuration)

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

Parameters
silentDurationThe do-not-disturb duration in minutes.

◆ setSilentModeInterval()

EMSilentModeParam com.hyphenate.chat.EMSilentModeParam.setSilentModeInterval ( EMSilentModeTime  startTime,
EMSilentModeTime  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: