Android.Appwidget.AppWidgetHostView.UpdateAppWidgetSize Method
Provide guidance about the size of this widget to the AppWidgetManager.

Syntax

[Android.Runtime.Register("updateAppWidgetSize", "(Landroid/os/Bundle;IIII)V", "GetUpdateAppWidgetSize_Landroid_os_Bundle_IIIIHandler")]
public virtual void UpdateAppWidgetSize (Android.OS.Bundle options, int minWidth, int minHeight, int maxWidth, int maxHeight)

See Also

AppWidgetProvider.OnAppWidgetOptionsChanged(Android.Content.Context, Android.Appwidget.AppWidgetManager, Android.Appwidget.AppWidgetManager, Android.Appwidget.AppWidgetManager)

Parameters

newOptions
The bundle of options, in addition to the size information, can be null.
minWidth
The minimum width in dips that the widget will be displayed at.
minHeight
The maximum height in dips that the widget will be displayed at.
maxWidth
The maximum width in dips that the widget will be displayed at.
maxHeight
The maximum height in dips that the widget will be displayed at.

Remarks

Provide guidance about the size of this widget to the AppWidgetManager. The widths and heights should correspond to the full area the AppWidgetHostView is given. Padding added by the framework will be accounted for automatically. This information gets embedded into the AppWidget options and causes a callback to the AppWidgetProvider.

[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