Język

Control.StatelessBuilder.SetTitle Method

Definition

Overloads

Name Description
SetTitle(ICharSequence)

Sets the name shown to the user.

SetTitle(String)

Sets the name shown to the user.

SetTitle(ICharSequence)

Sets the name shown to the user.

[Android.Runtime.Register("setTitle", "(Ljava/lang/CharSequence;)Landroid/service/controls/Control$StatelessBuilder;", "", ApiSince=30)]
public Android.Service.Controls.Control.StatelessBuilder SetTitle(Java.Lang.ICharSequence title);
[<Android.Runtime.Register("setTitle", "(Ljava/lang/CharSequence;)Landroid/service/controls/Control$StatelessBuilder;", "", ApiSince=30)>]
member this.SetTitle : Java.Lang.ICharSequence -> Android.Service.Controls.Control.StatelessBuilder

Parameters

title
ICharSequence

the user facing name of the Control This value cannot be null.

Returns

this This value cannot be null.

Attributes

Remarks

Android reference for android.service.controls.Control.StatelessBuilder.setTitle.

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

SetTitle(String)

Sets the name shown to the user.

public Android.Service.Controls.Control.StatelessBuilder SetTitle(string title);
member this.SetTitle : string -> Android.Service.Controls.Control.StatelessBuilder

Parameters

title
String

The name of the control to show to the user. This value must not be null.

Returns

This builder.

Remarks

This overload supplies the title as a string instead of a Java character sequence.

See the Android implementation.

Applies to