AppWidgetProvider.OnReceive(Context, Intent) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implements BroadcastReceiver#onReceive
to dispatch calls to the various
other methods on AppWidgetProvider.
[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);
[<Android.Runtime.Register("onReceive", "(Landroid/content/Context;Landroid/content/Intent;)V", "GetOnReceive_Landroid_content_Context_Landroid_content_Intent_Handler")>]
override this.OnReceive : Android.Content.Context * Android.Content.Intent -> unit
Parameters
- context
- Context
The Context in which the receiver is running.
- intent
- Intent
The Intent being received.
- Attributes
Remarks
Implements BroadcastReceiver#onReceive
to dispatch calls to the various other methods on AppWidgetProvider.
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.