Dil

SuppressEffect Enum

Definition

public enum SuppressEffect
type SuppressEffect = 
Inheritance
SuppressEffect

Fields

Name Value Description
ScreenOff 1

This constant was deprecated in API level 28. Use the more specific visual effects in NotificationManager.Policy.

Whether notifications suppressed by DND should not cause visual interruptions when the screen is off.

Android reference for android.service.notification.NotificationListenerService.SUPPRESSED_EFFECT_SCREEN_OFF.

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.

ScreenOn 2

This constant was deprecated in API level 28. Use the more specific visual effects in NotificationManager.Policy.

Whether notifications suppressed by DND should not cause visual interruptions when the screen is on.

Android reference for android.service.notification.NotificationListenerService.SUPPRESSED_EFFECT_SCREEN_ON.

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.

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