Android.App.Admin.DeviceAdminReceiver.OnPasswordFailed Method
Called after the user has failed at entering their current password, as a result of receiving DeviceAdminReceiver.ActionPasswordFailed.

Syntax

[Android.Runtime.Register("onPasswordFailed", "(Landroid/content/Context;Landroid/content/Intent;)V", "GetOnPasswordFailed_Landroid_content_Context_Landroid_content_Intent_Handler")]
public virtual void OnPasswordFailed (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 after the user has failed at entering their current password, as a result of receiving DeviceAdminReceiver.ActionPasswordFailed. At this point you can use Android.App.Admin.DevicePolicyManager to retrieve the number of failed password attempts.

[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