语言

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

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

适用于