hyphenate_SDK4.0 5.0.0
hyphenate java IM SDK
 
Loading...
Searching...
No Matches
com.hyphenate.chat.EMSilentModeResult Class Reference

Public Member Functions

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

Detailed Description

The do-not-disturb result class for offline push.

Member Function Documentation

◆ getConversationId()

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

Gets the conversation ID.

Returns
The conversation ID.

◆ getConversationType()

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

Gets the conversation type.

Returns
The conversation type.

◆ getExpireTimestamp()

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

Gets the do-not-disturb expiration timestamp for offline push.

Returns
The do-not-disturb expiration timestamp.

◆ getRemindType()

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

Gets the offline push notification type.

Returns
The offline push notification type.

◆ getSilentModeEndTime()

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

Gets the end time of the do-not-disturb time frame.

Returns
The end time of the do-not-disturb time frame.

◆ getSilentModeStartTime()

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

Gets the start time of the do-not-disturb time frame.

Returns
The start time of the do-not-disturb time frame

◆ isConversationRemindTypeEnabled()

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

Whether to enable the offline push notification type for the conversation.

true is returned after EMPushManager#setSilentModeForConversation(String, EMConversation.EMConversationType, EMSilentModeParam, EMValueCallBack) is called to set the offline push notification type.

false is returned after EMPushManager#clearRemindTypeForConversation(String, EMConversation.EMConversationType, EMCallBack) is called to clear the setting of the offline push notification type.

Returns
boolean

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