Language

AutomaticZenRule.Builder.SetType(Int32) Method

Definition

Sets the type of the rule.

[Android.Runtime.Register("setType", "(I)Landroid/app/AutomaticZenRule$Builder;", "", ApiSince=35)]
public Android.App.AutomaticZenRule.Builder SetType(int type);
[<Android.Runtime.Register("setType", "(I)Landroid/app/AutomaticZenRule$Builder;", "", ApiSince=35)>]
member this.SetType : int -> Android.App.AutomaticZenRule.Builder

Parameters

type
Int32

An AutomaticZenRuleType value cast to int.

Returns

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

Attributes

Remarks

Sets the type of the rule.

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

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