Chat SDK for Android v1.3.2
agora java chat SDK
 
Loading...
Searching...
No Matches
io.agora.chat.SilentModeResult Class Reference

Public Member Functions

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

Detailed Description

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

Member Function Documentation

◆ getConversationId()

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

Gets the conversation ID.

Returns
The conversation ID.

◆ getConversationType()

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

Gets the conversation type.

Returns
The conversation type.

◆ getExpireTimestamp()

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

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

Returns
The do-not-disturb expiration timestamp.

◆ getRemindType()

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

Gets the offline push notification type.

Returns
The offline push notification type.

◆ getSilentModeEndTime()

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

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

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

◆ getSilentModeStartTime()

SilentModeTime io.agora.chat.SilentModeResult.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 io.agora.chat.SilentModeResult.isConversationRemindTypeEnabled ( )

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

true is returned after PushManager#setSilentModeForConversation(String, Conversation.ConversationType, SilentModeParam, ValueCallBack) is called to set the offline push notification type.

false is returned after PushManager#clearRemindTypeForConversation(String, Conversation.ConversationType, CallBack) 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: