hyphenate_SDK3.0 4.0.0
hyphenate java IM SDK
Public Member Functions | List of all members
com.hyphenate.chat.EMSilentModeResult Class Reference

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

Public Member Functions

 EMSilentModeResult (EMASilentModeItem item)
 
long getExpireTimestamp ()
 
EMConversation.EMConversationType getConversationType ()
 
String getConversationId ()
 
boolean isConversationRemindTypeEnabled ()
 
EMPushManager.EMPushRemindType getRemindType ()
 
EMSilentModeTime getSilentModeStartTime ()
 
EMSilentModeTime getSilentModeEndTime ()
 

Detailed Description

Offline push DND result class.

Member Function Documentation

◆ getConversationId()

String com.hyphenate.chat.EMSilentModeResult.getConversationId ( )

Get the Conversation ID.

Returns
The Conversation ID.

◆ getConversationType()

EMConversation.EMConversationType com.hyphenate.chat.EMSilentModeResult.getConversationType ( )

Get the Conversation Type.

Returns
The Conversation Type.

◆ getExpireTimestamp()

long com.hyphenate.chat.EMSilentModeResult.getExpireTimestamp ( )

Obtain the offline push DND expiration timestamp.

Returns
Do not Disturb expiration timestamp.

◆ getRemindType()

EMPushManager.EMPushRemindType com.hyphenate.chat.EMSilentModeResult.getRemindType ( )

Get the offline push notification type.

Returns
The offline push notification type.

◆ getSilentModeEndTime()

EMSilentModeTime com.hyphenate.chat.EMSilentModeResult.getSilentModeEndTime ( )

Get the end time of offline push DND.

Returns
The end time.

◆ getSilentModeStartTime()

EMSilentModeTime com.hyphenate.chat.EMSilentModeResult.getSilentModeStartTime ( )

Get the start time of offline push DND.

Returns
The start time.

◆ isConversationRemindTypeEnabled()

boolean com.hyphenate.chat.EMSilentModeResult.isConversationRemindTypeEnabled ( )

Whether to enable offline push notification for the conversation. After calling EMPushManager#setSilentModeForConversation(String, EMConversation.EMConversationType, EMSilentModeParam, EMValueCallBack) set remind type, return true. After calling EMPushManager#clearRemindTypeForConversation(String, EMConversation.EMConversationType, EMCallBack) clear remind type, return false.

Returns
boolean

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