語言

NotificationManager.Policy.SuppressedEffectLights 欄位

定義

警告

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

無論是 NotificationChannel#shouldShowLights() notification lights DND攔截的通知都會被封鎖。

[Android.Runtime.Register("SUPPRESSED_EFFECT_LIGHTS", 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 SuppressedEffectLights = 8;
[<Android.Runtime.Register("SUPPRESSED_EFFECT_LIGHTS", 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 SuppressedEffectLights : Android.App.SuppressedEffects

欄位值

Value = 8

實作

屬性

備註

是否會阻擋國防部攔截通知的通知燈。

Android 參考資料。android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_LIGHTS

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

適用於