Sdílet prostřednictvím


DeviceAdminInfo.LoadIcon(PackageManager) Method

Definition

Load the user-displayed icon for this device admin.

[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 device admin's resources.

Returns

Attributes

Remarks

Load the user-displayed icon for this device admin.

Java documentation for android.app.admin.DeviceAdminInfo.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