PackageInstaller.PreapprovalDetails.Builder.SetLabel Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.