语言

NotificationManager.AutomaticRuleStatusActivated 字段

定义

注意

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_ACTIVATED", 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 AutomaticRuleStatusActivated = 4;
[<Android.Runtime.Register("AUTOMATIC_RULE_STATUS_ACTIVATED", 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 AutomaticRuleStatusActivated : Android.App.AutomaticRuleStatus

字段值

Value = 4
特性

注解

EXTRA_AUTOMATIC_ZEN_RULE_STATUS的常量值 - 给定规则已由用户或跨设备同步激活。从Build.VERSION_CODES发送。VANILLA_ICE_CREAM。 如果规则所有者具有包含 DND 组件的模式,则规则所有者应激活属于该模式的任何额外行为,以响应此广播。

Android 参考。android.app.NotificationManager.AUTOMATIC_RULE_STATUS_ACTIVATED

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

适用于