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

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

Public Member Functions

String getDisplayNickname ()
 
boolean isNoDisturbOn ()
 
boolean silentModeEnabled ()
 
int getNoDisturbStartHour ()
 
int getSilentModeStart ()
 
int getNoDisturbEndHour ()
 
int getSilentModeEnd ()
 
PushManager.DisplayStyle getDisplayStyle ()
 

Detailed Description

The push configuration class.

Member Function Documentation

◆ getDisplayNickname()

String io.agora.chat.PushConfigs.getDisplayNickname ( )

Gets the nickname of the notification sender displayed in the notification bar.

Returns
The nickname of the notification sender displayed in the notification bar.

◆ getDisplayStyle()

PushManager.DisplayStyle io.agora.chat.PushConfigs.getDisplayStyle ( )

Gets the display style of offline push notifications.

Returns
The display style of offline push notifications.

◆ getNoDisturbEndHour()

int io.agora.chat.PushConfigs.getNoDisturbEndHour ( )

Gets the end hour of the do-not-disturb period.

Returns
The end hour of the do-not-disturb period.
Deprecated:
Deprecated. Use PushConfigs#getSilentModeEnd() instead.

◆ getNoDisturbStartHour()

int io.agora.chat.PushConfigs.getNoDisturbStartHour ( )

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

The time is based on a 24-hour clock.

Returns
The start hour of the offline push without disturbing.
Deprecated:
Deprecated. Use PushConfigs#getSilentModeStart() instead.

◆ getSilentModeEnd()

int io.agora.chat.PushConfigs.getSilentModeEnd ( )

Gets the end hour of the do-not-disturb period.

Returns
The end hour of the do-not-disturb period.
Deprecated:
Deprecated. Use PushManager#getSilentModeForAll(ValueCallBack) instead.

◆ getSilentModeStart()

int io.agora.chat.PushConfigs.getSilentModeStart ( )

Gets the start hour of the do-not-disturb period.

Returns
The start hour of the do-not-disturb period.
Deprecated:
Deprecated. Use PushManager#getSilentModeForAll(ValueCallBack) instead.

◆ isNoDisturbOn()

boolean io.agora.chat.PushConfigs.isNoDisturbOn ( )

Gets whether the do-not-disturb mode is enabled for offline push.

You can enable the do-not-disturb mode by calling PushManager#disableOfflinePush(int, int).

Returns
Whether the do-not-disturb mode is enabled.
Deprecated:
Deprecated. Use PushConfigs#silentModeEnabled() instead.

◆ silentModeEnabled()

boolean io.agora.chat.PushConfigs.silentModeEnabled ( )

Gets whether the do-not-disturb mode is enabled for offline push.

You can enable the do-not-disturb mode by calling PushManager#disableOfflinePush(int, int).

Returns
Whether the do-not-disturb mode is enabled.
Deprecated:
Deprecated. Use PushManager#getSilentModeForAll(ValueCallBack) instead.

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