다음을 통해 공유


NotificationManager.AutomaticRuleStatusDisabled 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 but is disabled.

[Android.Runtime.Register("AUTOMATIC_RULE_STATUS_DISABLED", 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 AutomaticRuleStatusDisabled = 2;
[<Android.Runtime.Register("AUTOMATIC_RULE_STATUS_DISABLED", 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 AutomaticRuleStatusDisabled : Android.App.AutomaticRuleStatus

Field Value

Value = 2
Attributes

Remarks

Constant value for #EXTRA_AUTOMATIC_ZEN_RULE_STATUS - the given rule currently exists but is disabled. You do not need to continue to provide state changes via #setAutomaticZenRuleState(String, Condition) until the rule is reenabled.

Java documentation for android.app.NotificationManager.AUTOMATIC_RULE_STATUS_DISABLED.

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