Language

AutomaticZenRule.Builder.SetEnabled(Boolean) Method

Definition

Sets whether this rule is enabled.

[Android.Runtime.Register("setEnabled", "(Z)Landroid/app/AutomaticZenRule$Builder;", "", ApiSince=35)]
public Android.App.AutomaticZenRule.Builder SetEnabled(bool enabled);
[<Android.Runtime.Register("setEnabled", "(Z)Landroid/app/AutomaticZenRule$Builder;", "", ApiSince=35)>]
member this.SetEnabled : bool -> Android.App.AutomaticZenRule.Builder

Parameters

enabled
Boolean

boolean

Returns

This Android.App.AutomaticZenRule.Builder instance, allowing calls to be chained.

Attributes

Remarks

Sets whether this rule is enabled. A builder initialized with a name and condition URI enables the rule by default.

Android reference for android.app.AutomaticZenRule.Builder.setEnabled.

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