共用方式為


DeviceAdminReceiver.GetManager(Context) Method

Definition

Retrieve the DevicePolicyManager interface for this administrator to work with the system.

[Android.Runtime.Register("getManager", "(Landroid/content/Context;)Landroid/app/admin/DevicePolicyManager;", "GetGetManager_Landroid_content_Context_Handler")]
public virtual Android.App.Admin.DevicePolicyManager GetManager (Android.Content.Context context);
[<Android.Runtime.Register("getManager", "(Landroid/content/Context;)Landroid/app/admin/DevicePolicyManager;", "GetGetManager_Landroid_content_Context_Handler")>]
abstract member GetManager : Android.Content.Context -> Android.App.Admin.DevicePolicyManager
override this.GetManager : Android.Content.Context -> Android.App.Admin.DevicePolicyManager

Parameters

context
Context

Returns

Attributes

Remarks

Retrieve the DevicePolicyManager interface for this administrator to work with the system.

Java documentation for android.app.admin.DeviceAdminReceiver.getManager(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