Condividi tramite


AppWidgetProvider.OnDeleted(Context, Int32[]) Method

Definition

Called in response to the AppWidgetManager#ACTION_APPWIDGET_DELETED broadcast when one or more AppWidget instances have been deleted.

[Android.Runtime.Register("onDeleted", "(Landroid/content/Context;[I)V", "GetOnDeleted_Landroid_content_Context_arrayIHandler")]
public virtual void OnDeleted (Android.Content.Context? context, int[]? appWidgetIds);
[<Android.Runtime.Register("onDeleted", "(Landroid/content/Context;[I)V", "GetOnDeleted_Landroid_content_Context_arrayIHandler")>]
abstract member OnDeleted : Android.Content.Context * int[] -> unit
override this.OnDeleted : Android.Content.Context * int[] -> unit

Parameters

context
Context

The android.content.Context Context in which this receiver is running.

appWidgetIds
Int32[]

The appWidgetIds that have been deleted from their host.

Attributes

Remarks

Called in response to the AppWidgetManager#ACTION_APPWIDGET_DELETED broadcast when one or more AppWidget instances have been deleted. Override this method to implement your own AppWidget functionality.

{

Java documentation for android.appwidget.AppWidgetProvider.onDeleted(android.content.Context, int[]).

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

See also