Språk

PackageInstaller.PreapprovalDetails.Builder.SetLabel Method

Definition

Overloads

Name Description
SetLabel(ICharSequence)

The label representing the app to be installed.

SetLabel(String)

Sets the preapproval app label from a string.

SetLabel(ICharSequence)

The label representing the app to be installed.

[Android.Runtime.Register("setLabel", "(Ljava/lang/CharSequence;)Landroid/content/pm/PackageInstaller$PreapprovalDetails$Builder;", "", ApiSince=34)]
public Android.Content.PM.PackageInstaller.PreapprovalDetails.Builder SetLabel(Java.Lang.ICharSequence value);
[<Android.Runtime.Register("setLabel", "(Ljava/lang/CharSequence;)Landroid/content/pm/PackageInstaller$PreapprovalDetails$Builder;", "", ApiSince=34)>]
member this.SetLabel : Java.Lang.ICharSequence -> Android.Content.PM.PackageInstaller.PreapprovalDetails.Builder

Parameters

value
ICharSequence

The app label submitted for preapproval validation.

Returns

This builder after the app label is assigned.

Attributes

Remarks

The label representing the app to be installed.

Android reference for android.content.pm.PackageInstaller.PreapprovalDetails.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

SetLabel(String)

Sets the preapproval app label from a string.

public Android.Content.PM.PackageInstaller.PreapprovalDetails.Builder SetLabel(string value);
member this.SetLabel : string -> Android.Content.PM.PackageInstaller.PreapprovalDetails.Builder

Parameters

value
String

The app label submitted for preapproval as a string.

Returns

This builder after the app label is assigned.

Remarks

The binding passes the string to the character-sequence overload.

Applies to