ActivityManager.TaskDescription.Builder.SetLabel(String) Method

Definition

Set the label to use in the TaskDescription.

[Android.Runtime.Register("setLabel", "(Ljava/lang/String;)Landroid/app/ActivityManager$TaskDescription$Builder;", "", ApiSince=33)]
public Android.App.ActivityManager.TaskDescription.Builder SetLabel(string? label);
[<Android.Runtime.Register("setLabel", "(Ljava/lang/String;)Landroid/app/ActivityManager$TaskDescription$Builder;", "", ApiSince=33)>]
member this.SetLabel : string -> Android.App.ActivityManager.TaskDescription.Builder

Parameters

label
String

String: A label and description of the current state of this activity. This value may be null.

Returns

The same instance of the builder. This value cannot be null.

Attributes

Remarks

Set the label to use in the TaskDescription.

Android reference for android.app.ActivityManager.TaskDescription.Builder.setLabel.

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