Android.Service.Restrictions.RestrictionsReceiver.OnReceive Method
Intercept standard Restrictions Provider 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 Restrictions Provider broadcasts. Implementations should not override this method; it is better to implement the convenience callbacks for each action.

[Android Documentation]

Requirements

Namespace: Android.Service.Restrictions
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0