语言

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

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于