Share via


AutomaticZenRule.Enabled Property

Definition

Returns whether this rule is enabled. -or- Enables this rule.

public bool Enabled { [Android.Runtime.Register("isEnabled", "()Z", "", ApiSince=24)] get; [Android.Runtime.Register("setEnabled", "(Z)V", "", ApiSince=24)] set; }
[<get: Android.Runtime.Register("isEnabled", "()Z", "", ApiSince=24)>]
[<set: Android.Runtime.Register("setEnabled", "(Z)V", "", ApiSince=24)>]
member this.Enabled : bool with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns whether this rule is enabled.

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

Property setter documentation:

Enables this rule.

Java documentation for android.app.AutomaticZenRule.setEnabled(boolean).

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