Sdílet prostřednictvím


WallpaperInfo.LoadIcon(PackageManager) Method

Definition

Load the user-displayed icon for this wallpaper.

[Android.Runtime.Register("loadIcon", "(Landroid/content/pm/PackageManager;)Landroid/graphics/drawable/Drawable;", "")]
public Android.Graphics.Drawables.Drawable? LoadIcon (Android.Content.PM.PackageManager? pm);
[<Android.Runtime.Register("loadIcon", "(Landroid/content/pm/PackageManager;)Landroid/graphics/drawable/Drawable;", "")>]
member this.LoadIcon : Android.Content.PM.PackageManager -> Android.Graphics.Drawables.Drawable

Parameters

pm
PackageManager

Supply a PackageManager used to load the wallpaper's resources.

Returns

Attributes

Remarks

Load the user-displayed icon for this wallpaper.

Java documentation for android.app.WallpaperInfo.loadIcon(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