hyphenate_SDK4.0 4.8.0
hyphenate java IM SDK
Public Member Functions | List of all members
com.hyphenate.chat.EMPushConfigs Class Reference

Inherits com.hyphenate.chat.EMBase< T >.

Public Member Functions

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

Detailed Description

The push configuration class.

Member Function Documentation

◆ getDisplayNickname()

String com.hyphenate.chat.EMPushConfigs.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()

EMPushManager.DisplayStyle com.hyphenate.chat.EMPushConfigs.getDisplayStyle ( )

Gets the display style of offline push notifications.

Returns
The display style of offline push notifications.

◆ getNoDisturbEndHour()

int com.hyphenate.chat.EMPushConfigs.getNoDisturbEndHour ( )

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

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

◆ getNoDisturbStartHour()

int com.hyphenate.chat.EMPushConfigs.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 EMPushConfigs#getSilentModeStart() instead.

◆ getSilentModeEnd()

int com.hyphenate.chat.EMPushConfigs.getSilentModeEnd ( )

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

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

◆ getSilentModeStart()

int com.hyphenate.chat.EMPushConfigs.getSilentModeStart ( )

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

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

◆ isNoDisturbOn()

boolean com.hyphenate.chat.EMPushConfigs.isNoDisturbOn ( )

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

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

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

◆ silentModeEnabled()

boolean com.hyphenate.chat.EMPushConfigs.silentModeEnabled ( )

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

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

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

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