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

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

Public Member Functions

long getExpireTimestamp ()
 
Conversation.ConversationType getConversationType ()
 
String getConversationId ()
 
boolean isConversationRemindTypeEnabled ()
 
PushManager.PushRemindType getRemindType ()
 
SilentModeTime getSilentModeStartTime ()
 
SilentModeTime getSilentModeEndTime ()
 

Detailed Description

Offline push DND result class.

Member Function Documentation

◆ getConversationId()

String io.agora.chat.SilentModeResult.getConversationId ( )

Get the Conversation ID.

Returns
The Conversation ID.

◆ getConversationType()

Conversation.ConversationType io.agora.chat.SilentModeResult.getConversationType ( )

Get the Conversation Type.

Returns
The Conversation Type.

◆ getExpireTimestamp()

long io.agora.chat.SilentModeResult.getExpireTimestamp ( )

Obtain the offline push DND expiration timestamp.

Returns
Do not Disturb expiration timestamp.

◆ getRemindType()

PushManager.PushRemindType io.agora.chat.SilentModeResult.getRemindType ( )

Get the offline push notification type.

Returns
The offline push notification type.

◆ getSilentModeEndTime()

SilentModeTime io.agora.chat.SilentModeResult.getSilentModeEndTime ( )

Get the end time of offline push DND.

Returns
The end time.

◆ getSilentModeStartTime()

SilentModeTime io.agora.chat.SilentModeResult.getSilentModeStartTime ( )

Get the start time of offline push DND.

Returns
The start time.

◆ isConversationRemindTypeEnabled()

boolean io.agora.chat.SilentModeResult.isConversationRemindTypeEnabled ( )

Whether to enable offline push notification for the conversation. After calling PushManager#setSilentModeForConversation(String, Conversation.ConversationType, SilentModeParam, ValueCallBack) set remind type, return true. After calling PushManager#clearRemindTypeForConversation(String, Conversation.ConversationType, CallBack) clear remind type, return false.

Returns
boolean

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