Chat SDK for Android v1.2.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 configs info class.

Member Function Documentation

◆ getDisplayNickname()

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

Gets the push display name.

Returns
The display name for push.

◆ getDisplayStyle()

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

Gets the offline push display type.

Returns
The offline push display type.

◆ getNoDisturbEndHour()

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

Gets the end hour of the offline push without disturbing.

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

◆ getNoDisturbStartHour()

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

Gets the start hour of the offline push without disturbing(24-hour clock).

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

◆ getSilentModeEnd()

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

Gets the end hour of the offline push without disturbing.

Returns
The end hour of the offline push without disturbing.
Deprecated:
Use PushManager#getSilentModeForAll(ValueCallBack) instead.

◆ getSilentModeStart()

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

Gets the start hour of the offline push without disturbing.

Returns
The start hour of the offline push without disturbing.
Deprecated:
Use PushManager#getSilentModeForAll(ValueCallBack) instead.

◆ isNoDisturbOn()

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

Gets whether to enable offline push without disturbing. Sets it by PushManager#disableOfflinePush(int, int).

Returns
Whether to enable offline push without disturbing.
Deprecated:
Use PushConfigs#silentModeEnabled() instead.

◆ silentModeEnabled()

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

Gets whether to silent the offline push. Sets it by PushManager#disableOfflinePush(int, int).

Returns
WHether to silent the offline push.
Deprecated:
Use PushManager#getSilentModeForAll(ValueCallBack) instead.

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