Android.App.Admin.DeviceAdminReceiver.OnReceive Method
Intercept standard device administrator broadcasts.

Syntax

[Android.Runtime.Register("onReceive", "(Landroid/content/Context;Landroid/content/Intent;)V", "GetOnReceive_Landroid_content_Context_Landroid_content_Intent_Handler")]
public override void OnReceive (Android.Content.Context context, Android.Content.Intent intent)

Parameters

context
The Context in which the receiver is running.
intent
The Intent being received.

Remarks

Intercept standard device administrator broadcasts. Implementations should not override this method; it is better to implement the convenience callbacks for each action.

[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