AppWidgetProvider.OnDeleted(Context, Int32[]) 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.
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.
{
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.