Partager via


NotificationManager.AutomaticRuleStatusEnabled Field

Definition

Caution

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

Constant value for #EXTRA_AUTOMATIC_ZEN_RULE_STATUS - the given rule currently exists and is enabled.

[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

Field Value

Value = 1
Attributes

Remarks

Constant value for #EXTRA_AUTOMATIC_ZEN_RULE_STATUS - the given rule currently exists and is enabled. You should continue to provide state changes via #setAutomaticZenRuleState(String, Condition).

Java documentation for android.app.NotificationManager.AUTOMATIC_RULE_STATUS_ENABLED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to