Compartir a través de


NotificationManager.AutomaticRuleStatusUnknown 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 current status of the rule is unknown at your target sdk version, and you should continue to provide state changes via #setAutomaticZenRuleState(String, Condition).

[Android.Runtime.Register("AUTOMATIC_RULE_STATUS_UNKNOWN", 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 AutomaticRuleStatusUnknown = -1;
[<Android.Runtime.Register("AUTOMATIC_RULE_STATUS_UNKNOWN", 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 AutomaticRuleStatusUnknown : Android.App.AutomaticRuleStatus

Field Value

Value = -1
Attributes

Remarks

Constant value for #EXTRA_AUTOMATIC_ZEN_RULE_STATUS - the current status of the rule is unknown at your target sdk version, and you should continue to provide state changes via #setAutomaticZenRuleState(String, Condition).

Java documentation for android.app.NotificationManager.AUTOMATIC_RULE_STATUS_UNKNOWN.

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