Partager via


NotificationManager.Policy.SuppressedEffectBadge Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.SuppressedEffects enum directly instead of this field.

Whether NotificationChannel#canShowBadge() badges from notifications intercepted by DND are blocked on devices that support badging.

[Android.Runtime.Register("SUPPRESSED_EFFECT_BADGE", ApiSince=28)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.SuppressedEffects enum directly instead of this field.", true)]
public const Android.App.SuppressedEffects SuppressedEffectBadge = 64;
[<Android.Runtime.Register("SUPPRESSED_EFFECT_BADGE", ApiSince=28)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.SuppressedEffects enum directly instead of this field.", true)>]
val mutable SuppressedEffectBadge : Android.App.SuppressedEffects

Field Value

Value = 64

Implements

Attributes

Remarks

Whether NotificationChannel#canShowBadge() badges from notifications intercepted by DND are blocked on devices that support badging.

Java documentation for android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_BADGE.

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