Compartilhar via


AppWidgetProviderInfo.LoadLabel(PackageManager) Method

Definition

Loads the localized label to display to the user in the AppWidget picker.

[Android.Runtime.Register("loadLabel", "(Landroid/content/pm/PackageManager;)Ljava/lang/String;", "")]
public string? LoadLabel (Android.Content.PM.PackageManager? packageManager);
[<Android.Runtime.Register("loadLabel", "(Landroid/content/pm/PackageManager;)Ljava/lang/String;", "")>]
member this.LoadLabel : Android.Content.PM.PackageManager -> string

Parameters

packageManager
PackageManager

Package manager instance for loading resources.

Returns

The label for the current locale.

Attributes

Remarks

Loads the localized label to display to the user in the AppWidget picker.

Java documentation for android.appwidget.AppWidgetProviderInfo.loadLabel(android.content.pm.PackageManager).

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