語言

NotificationManager.AutomaticRuleStatusDisabled 欄位

定義

警告

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_DISABLED", 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 AutomaticRuleStatusDisabled = 2;
[<Android.Runtime.Register("AUTOMATIC_RULE_STATUS_DISABLED", 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 AutomaticRuleStatusDisabled : Android.App.AutomaticRuleStatus

欄位值

Value = 2
屬性

備註

EXTRA_AUTOMATIC_ZEN_RULE_STATUS 的恆定值——目前規則存在但已停用。 在規則重新啟用前,你不需要透過 setAutomaticZenRuleState(String,Condition) 持續提供狀態變更。

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

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

適用於