語言

NotificationManager.AutomaticRuleStatusUnknown 欄位

定義

警告

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

恆定值 - #EXTRA_AUTOMATIC_ZEN_RULE_STATUS 在你的目標 SDK 版本中,規則的當前狀態未知,你應該繼續透過 #setAutomaticZenRuleState(String, Condition)提供狀態變更。

[Android.Runtime.Register("AUTOMATIC_RULE_STATUS_UNKNOWN", 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 AutomaticRuleStatusUnknown = -1;
[<Android.Runtime.Register("AUTOMATIC_RULE_STATUS_UNKNOWN", 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 AutomaticRuleStatusUnknown : Android.App.AutomaticRuleStatus

欄位值

Value = -1
屬性

備註

EXTRA_AUTOMATIC_ZEN_RULE_STATUS 的恆定值——在你的目標 SDK 版本中,規則的當前狀態未知,你應該繼續透過 setAutomaticZenRuleState(String,Condition) 提供狀態變更。

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

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

適用於