语言

NotificationManager.Policy.SuppressedEffectBadge 字段

定义

注意

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

DND 截获的通知是否 NotificationChannel#canShowBadge() badges 在支持错误设置的设备上被阻止。

[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

字段值

Value = 64

实现

特性

注解

DND 截获的通知中的锁屏提醒是否在支持错误设置的设备上被阻止。

Android 参考。android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_BADGE

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于