語言

NotificationManager.AutomaticRuleStatusDeactivated 欄位

定義

警告

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

Constant value 為 #EXTRA_AUTOMATIC_ZEN_RULE_STATUS - 使用者已停用(「snoozed」)該規則。

[Android.Runtime.Register("AUTOMATIC_RULE_STATUS_DEACTIVATED", ApiSince=35)]
[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 AutomaticRuleStatusDeactivated = 5;
[<Android.Runtime.Register("AUTOMATIC_RULE_STATUS_DEACTIVATED", ApiSince=35)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.AutomaticRuleStatus enum directly instead of this field.", true)>]
val mutable AutomaticRuleStatusDeactivated : Android.App.AutomaticRuleStatus

欄位值

Value = 5
屬性

備註

EXTRA_AUTOMATIC_ZEN_RULE_STATUS 的恆定值 - 使用者已停用(「暫停」)該規則。 直到應用程式呼叫 setAutomaticZenRuleState(String,Condition) 並Condition.STATE_FALSE(無論是立即或觸發條件不再符合時),以及當觸發條件剛達成或使用者重新啟用時Condition.STATE_TRUE,規則才會回到啟用狀態。

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

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

適用於