hyphenate_SDK3.0 4.0.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

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

Detailed Description

The push configs info class.

Member Function Documentation

◆ getDisplayNickname()

String com.hyphenate.chat.EMPushConfigs.getDisplayNickname ( )

Gets the push display name.

Returns
The display name for push.

◆ getDisplayStyle()

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

Gets the offline push display type.

Returns
The offline push display type.

◆ getNoDisturbEndHour()

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

Gets the end hour of the offline push without disturbing.

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

◆ getNoDisturbStartHour()

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

◆ getSilentModeEnd()

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

Gets the end hour of the offline push without disturbing.

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

◆ getSilentModeStart()

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

Gets the start hour of the offline push without disturbing.

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

◆ isNoDisturbOn()

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

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

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

◆ silentModeEnabled()

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

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

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

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