hyphenate_SDK4.0 4.8.0
hyphenate java IM SDK
|
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) |
The offline push parameter entity class.
com.hyphenate.chat.EMSilentModeParam.EMSilentModeParam | ( | EMSilentModeParamType | paramType | ) |
Parameterized constructor.
paramType | The parameter type. |
EMSilentModeParam com.hyphenate.chat.EMSilentModeParam.setParamType | ( | EMSilentModeParamType | paramType | ) |
Sets the parameter type.
paramType | The parameter type. |
EMSilentModeParam com.hyphenate.chat.EMSilentModeParam.setRemindType | ( | EMPushManager.EMPushRemindType | remindType | ) |
Sets the offline push notification type.
remindType | The offline push notification type. |
EMSilentModeParam com.hyphenate.chat.EMSilentModeParam.setSilentModeDuration | ( | int | silentDuration | ) |
Sets the do-not-disturb duration for offline push.
silentDuration | The do-not-disturb duration in minutes. |
EMSilentModeParam com.hyphenate.chat.EMSilentModeParam.setSilentModeInterval | ( | EMSilentModeTime | startTime, |
EMSilentModeTime | endTime | ||
) |
Sets the do-not-disturb time frame for offline push.
startTime | The start time of the do-not-disturb time frame. |
endTime | The end time of the do-not-disturb time frame. |