Język

SuppressedEffects Enum

Definition

public enum SuppressedEffects
type SuppressedEffects = 
Inheritance
SuppressedEffects

Fields

Name Value Description
ScreenOff 1

This constant was deprecated in API level 28.

ScreenOn 2

This constant was deprecated in API level 28.

FullScreenIntent 4

Whether full screen intents from notifications intercepted by DND are blocked.

Lights 8

Whether notification lights from notifications intercepted by DND are blocked.

Peek 16

Whether notifications intercepted by DND are prevented from peeking.

StatusBar 32

Whether notifications intercepted by DND are prevented from appearing in the status bar, on devices that support status bars.

Badge 64

Whether badges from notifications intercepted by DND are blocked on devices that support badging.

Ambient 128

Whether notification intercepted by DND are prevented from appearing on ambient displays on devices that support ambient display.

NotificationList 256

Whether notification intercepted by DND are prevented from appearing in notification list views like the notification shade or lockscreen on devices that support those views.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to