public class StatusBarNotificationConfig
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
customTitleWhenTeamNameEmpty
If the group name is null or empty string, use customTitleWhenTeamNameEmpty for the title on the notification bar.
|
java.lang.String |
downTimeBegin
Thestart time of Do Not Disturb in HH:mm (24-hour format).
|
boolean |
downTimeEnableNotification
Specify whether to display notifications when Do-Not-Disturb is turned on.
|
java.lang.String |
downTimeEnd
The end time of Do Not Disturb in HH:mm (24-hour format).
|
boolean |
downTimeToggle
Do Not Disturb setting * The default value is false.
|
boolean |
hideContent
Do not display the message details and the nickname of the message sender
The default value is false. |
int |
ledARGB
Color of the breathing light
The color of the led.
|
int |
ledOffMs
Duration when the breathing light is off in milliseconds.
|
int |
ledOnMs
Duration when the breathing light is turned on in milliseconds.
|
int |
notificationColor
The color of the notification bar.
|
java.lang.Class<? extends Activity> |
notificationEntrance
The activity type of response intent for alerts on the notification bar.
|
NotificationExtraTypeEnum |
notificationExtraType
The extra type passed by clicking the notification bar.
|
StatusBarNotificationFilter |
notificationFilter
// Before StatusBarNotification pops up, the SDK asks the app using the interface and decides whether to pop up the notification based on the result returned by the app.
|
boolean |
notificationFolded
Deprecated.
|
NotificationFoldStyle |
notificationFoldStyle
The folding type of messages on the notification bar.
|
int |
notificationSmallIconId
The resource ID of the small icon for status bar alerts.
|
java.lang.String |
notificationSound
The audio resource of the ring alert.
|
boolean |
ring
Specify whether to enable a ring for alerts.
|
boolean |
showBadge
Specify whether to display the unread count on the app icon shows (red dots)
The setting is only valid for Android 8.0 or later.
|
boolean |
titleOnlyShowAppName
Specify whether to display the app name in the alerts on the notification bar.
|
boolean |
vibrate
Specify whether to enable vibration for alerts.
|
Constructor and Description |
---|
StatusBarNotificationConfig() |
public int notificationSmallIconId
public boolean ring
public java.lang.String notificationSound
public boolean vibrate
public int ledARGB
public int ledOnMs
public int ledOffMs
public boolean hideContent
public boolean downTimeToggle
public java.lang.String downTimeBegin
public java.lang.String downTimeEnd
public boolean downTimeEnableNotification
public java.lang.Class<? extends Activity> notificationEntrance
public boolean titleOnlyShowAppName
@Deprecated public boolean notificationFolded
NotificationFoldStyle
public NotificationFoldStyle notificationFoldStyle
public int notificationColor
public boolean showBadge
public java.lang.String customTitleWhenTeamNameEmpty
public NotificationExtraTypeEnum notificationExtraType
public StatusBarNotificationFilter notificationFilter