Share via


DeviceAdminInfo(Context, ResolveInfo) Constructor

Definition

Constructor.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/content/pm/ResolveInfo;)V", "")]
public DeviceAdminInfo (Android.Content.Context? context, Android.Content.PM.ResolveInfo? resolveInfo);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/content/pm/ResolveInfo;)V", "")>]
new Android.App.Admin.DeviceAdminInfo : Android.Content.Context * Android.Content.PM.ResolveInfo -> Android.App.Admin.DeviceAdminInfo

Parameters

context
Context

The Context in which we are parsing the device admin.

resolveInfo
ResolveInfo

The ResolveInfo returned from the package manager about this device admin's component.

Attributes

Exceptions

Remarks

Constructor.

Java documentation for android.app.admin.DeviceAdminInfo.DeviceAdminInfo(android.content.Context, android.content.pm.ResolveInfo).

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