다음을 통해 공유


NotificationManager.AutomaticRuleStatusDeactivated 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 has been deactivated ("snoozed") by the user.

[Android.Runtime.Register("AUTOMATIC_RULE_STATUS_DEACTIVATED", 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 AutomaticRuleStatusDeactivated = 5;
[<Android.Runtime.Register("AUTOMATIC_RULE_STATUS_DEACTIVATED", 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 AutomaticRuleStatusDeactivated : Android.App.AutomaticRuleStatus

Field Value

Value = 5
Attributes

Remarks

Constant value for #EXTRA_AUTOMATIC_ZEN_RULE_STATUS - the given rule has been deactivated ("snoozed") by the user. The rule will not return to an activated state until the app calls #setAutomaticZenRuleState(String, Condition) with Condition#STATE_FALSE (either immediately or when the trigger criteria is no longer met) and then Condition#STATE_TRUE when the trigger criteria is freshly met, or when the user re-activates it.

Java documentation for android.app.NotificationManager.AUTOMATIC_RULE_STATUS_DEACTIVATED.

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