Freigeben über


NotificationManager.MetaDataRuleInstanceLimit Field

Definition

An optional meta-data tag for activities that handle #ACTION_AUTOMATIC_ZEN_RULE.

[Android.Runtime.Register("META_DATA_RULE_INSTANCE_LIMIT", ApiSince=29)]
public const string MetaDataRuleInstanceLimit;
[<Android.Runtime.Register("META_DATA_RULE_INSTANCE_LIMIT", ApiSince=29)>]
val mutable MetaDataRuleInstanceLimit : string

Field Value

Attributes

Remarks

An optional meta-data tag for activities that handle #ACTION_AUTOMATIC_ZEN_RULE.

This tag should contain the maximum number of rule instances that can be created for this rule type. Omit or enter a value <= 0 to allow unlimited instances.

Java documentation for android.app.NotificationManager.META_DATA_RULE_INSTANCE_LIMIT.

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