語言

NotificationManager.AutomaticRuleStatusEnabled 欄位

定義

警告

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

恆定值 - #EXTRA_AUTOMATIC_ZEN_RULE_STATUS 該規則目前存在且已啟用。

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

欄位值

Value = 1
屬性

備註

EXTRA_AUTOMATIC_ZEN_RULE_STATUS 的恆定值——目前已啟用該規則。 你應該繼續透過 setAutomaticZenRuleState(String,Condition) 來提供狀態變更。

Android 參考資料。android.app.NotificationManager.AUTOMATIC_RULE_STATUS_ENABLED

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

適用於