共用方式為


NotificationManager.ExtraAutomaticRuleId Field

Definition

Used as an optional string extra on #ACTION_AUTOMATIC_ZEN_RULE intents.

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

Field Value

Attributes

Remarks

Used as an optional string extra on #ACTION_AUTOMATIC_ZEN_RULE intents. If provided, contains the id of the AutomaticZenRule (as returned from NotificationManager#addAutomaticZenRule(AutomaticZenRule)) for which configuration settings should be displayed.

Java documentation for android.app.NotificationManager.EXTRA_AUTOMATIC_RULE_ID.

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