Condividi tramite


DelegatedAdminReceiver.OnReceive(Context, Intent) Method

Definition

Intercept delegated device administrator broadcasts.

[Android.Runtime.Register("onReceive", "(Landroid/content/Context;Landroid/content/Intent;)V", "", ApiSince=29)]
public override sealed void OnReceive (Android.Content.Context context, Android.Content.Intent intent);
[<Android.Runtime.Register("onReceive", "(Landroid/content/Context;Landroid/content/Intent;)V", "", ApiSince=29)>]
override this.OnReceive : Android.Content.Context * Android.Content.Intent -> unit

Parameters

context
Context
intent
Intent
Attributes

Remarks

Intercept delegated device administrator broadcasts. Implementations should not override this method; implement the convenience callbacks for each action instead.

Java documentation for android.app.admin.DelegatedAdminReceiver.onReceive(android.content.Context, android.content.Intent).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to