Android.Appwidget.AppWidgetProvider.OnAppWidgetOptionsChanged Method
Called in response to the AppWidgetManager.ActionAppwidgetOptionsChanged broadcast when this widget has been layed out at a new size.

Syntax

[Android.Runtime.Register("onAppWidgetOptionsChanged", "(Landroid/content/Context;Landroid/appwidget/AppWidgetManager;ILandroid/os/Bundle;)V", "GetOnAppWidgetOptionsChanged_Landroid_content_Context_Landroid_appwidget_AppWidgetManager_ILandroid_os_Bundle_Handler")]
public virtual void OnAppWidgetOptionsChanged (Android.Content.Context context, AppWidgetManager appWidgetManager, int appWidgetId, Android.OS.Bundle newOptions)

See Also

AppWidgetManager.ActionAppwidgetOptionsChanged

Parameters

context
The Android.Content.Context in which this receiver is running.
appWidgetManager
A Android.Appwidget.AppWidgetManager object you can call AppWidgetManager.UpdateAppWidget(Android.Content.ComponentName, Android.Widget.RemoteViews) on.
appWidgetId
The appWidgetId of the widget whose size changed.
newOptions
The appWidgetId of the widget whose size changed.

Remarks

Called in response to the AppWidgetManager.ActionAppwidgetOptionsChanged broadcast when this widget has been layed out at a new size.

[Android Documentation]

Requirements

Namespace: Android.Appwidget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16