語言

NotificationManager.Policy.SuppressedEffectBadge 欄位

定義

警告

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

無論是 NotificationChannel#canShowBadge() badges DND攔截的通知,在支援徽章的裝置上都會被封鎖。

[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

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於