Android.App.Admin.DeviceAdminReceiver.OnDisableRequestedFormatted Method
Called when the user has asked to disable the administrator, as a result of receiving DeviceAdminReceiver.ActionDeviceAdminDisableRequested, giving you a chance to present a warning message to them.

Syntax

[Android.Runtime.Register("onDisableRequested", "(Landroid/content/Context;Landroid/content/Intent;)Ljava/lang/CharSequence;", "GetOnDisableRequested_Landroid_content_Context_Landroid_content_Intent_Handler")]
public virtual Java.Lang.ICharSequence OnDisableRequestedFormatted (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).

Returns

Documentation for this section has not yet been entered.

Remarks

Called when the user has asked to disable the administrator, as a result of receiving DeviceAdminReceiver.ActionDeviceAdminDisableRequested, giving you a chance to present a warning message to them. The message is returned as the result; if null is returned (the default implementation), no message will be displayed.

[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