Share via


AutomaticZenRule.ConfigurationActivity Property

Definition

Returns the ComponentName of the activity that shows configuration options for this rule. -or- Sets the configuration activity - an activity that handles NotificationManager#ACTION_AUTOMATIC_ZEN_RULE that shows the user more information about this rule and/or allows them to configure it.

public Android.Content.ComponentName? ConfigurationActivity { [Android.Runtime.Register("getConfigurationActivity", "()Landroid/content/ComponentName;", "", ApiSince=29)] get; [Android.Runtime.Register("setConfigurationActivity", "(Landroid/content/ComponentName;)V", "", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getConfigurationActivity", "()Landroid/content/ComponentName;", "", ApiSince=29)>]
[<set: Android.Runtime.Register("setConfigurationActivity", "(Landroid/content/ComponentName;)V", "", ApiSince=29)>]
member this.ConfigurationActivity : Android.Content.ComponentName with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns the ComponentName of the activity that shows configuration options for this rule.

Java documentation for android.app.AutomaticZenRule.getConfigurationActivity().

Property setter documentation:

Sets the configuration activity - an activity that handles NotificationManager#ACTION_AUTOMATIC_ZEN_RULE that shows the user more information about this rule and/or allows them to configure it. This is required to be non-null for rules that are not backed by android.service.notification.ConditionProviderService.

Java documentation for android.app.AutomaticZenRule.setConfigurationActivity(android.content.ComponentName).

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