Freigeben über


NotificationManager.Policy.SuppressedEffectScreenOff Field

Definition

Whether notifications suppressed by DND should not interrupt visually (e.

[Android.Runtime.Register("SUPPRESSED_EFFECT_SCREEN_OFF", ApiSince=24)]
public const Android.App.SuppressedEffects SuppressedEffectScreenOff = 1;
[<Android.Runtime.Register("SUPPRESSED_EFFECT_SCREEN_OFF", ApiSince=24)>]
val mutable SuppressedEffectScreenOff : Android.App.SuppressedEffects

Field Value

Value = 1

Implements

Attributes

Remarks

Whether notifications suppressed by DND should not interrupt visually (e.g. with notification lights or by turning the screen on) when the screen is off.

This member is deprecated. use #SUPPRESSED_EFFECT_FULL_SCREEN_INTENT and #SUPPRESSED_EFFECT_AMBIENT and #SUPPRESSED_EFFECT_LIGHTS individually.

Java documentation for android.app.NotificationManager.Policy.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.

Applies to