AutomaticZenRule.Builder.SetName(String) Method

Definition

Sets the name of this rule.

[Android.Runtime.Register("setName", "(Ljava/lang/String;)Landroid/app/AutomaticZenRule$Builder;", "", ApiSince=35)]
public Android.App.AutomaticZenRule.Builder SetName(string name);
[<Android.Runtime.Register("setName", "(Ljava/lang/String;)Landroid/app/AutomaticZenRule$Builder;", "", ApiSince=35)>]
member this.SetName : string -> Android.App.AutomaticZenRule.Builder

Parameters

name
String

String: This value cannot be null.

Returns

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

Attributes

Remarks

Sets the name of this rule.

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

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