DeviceAdminReceiver.GetWho(Context) Method

Definition

Retrieve the ComponentName describing who this device administrator is, for use in DevicePolicyManager APIs that require the administrator to identify itself.

[Android.Runtime.Register("getWho", "(Landroid/content/Context;)Landroid/content/ComponentName;", "GetGetWho_Landroid_content_Context_Handler")]
public virtual Android.Content.ComponentName GetWho (Android.Content.Context context);
[<Android.Runtime.Register("getWho", "(Landroid/content/Context;)Landroid/content/ComponentName;", "GetGetWho_Landroid_content_Context_Handler")>]
abstract member GetWho : Android.Content.Context -> Android.Content.ComponentName
override this.GetWho : Android.Content.Context -> Android.Content.ComponentName

Parameters

context
Context

Returns

Attributes

Remarks

Retrieve the ComponentName describing who this device administrator is, for use in DevicePolicyManager APIs that require the administrator to identify itself.

Java documentation for android.app.admin.DeviceAdminReceiver.getWho(android.content.Context).

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