AutomaticZenRule.Builder.SetEnabled(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enables this rule.
[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
Enables this rule. Rules are enabled 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.