Android.App.Admin.DeviceAdminReceiver.OnDisabled Method
Called prior to the administrator being disabled, as a result of receiving DeviceAdminReceiver.ActionDeviceAdminDisabled.

Syntax

[Android.Runtime.Register("onDisabled", "(Landroid/content/Context;Landroid/content/Intent;)V", "GetOnDisabled_Landroid_content_Context_Landroid_content_Intent_Handler")]
public virtual void OnDisabled (Android.Content.Context context, Android.Content.Intent intent)

Parameters

context
The running context as per DeviceAdminReceiver.OnReceive(Android.Content.Context, Android.Content.Intent).
intent
The received intent as per DeviceAdminReceiver.OnReceive(Android.Content.Context, Android.Content.Intent).

Remarks

Called prior to the administrator being disabled, as a result of receiving DeviceAdminReceiver.ActionDeviceAdminDisabled. Upon return, you can no longer use the protected parts of the Android.App.Admin.DevicePolicyManager API.

[Android Documentation]

Requirements

Namespace: Android.App.Admin
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8