Android.Appwidget.AppWidgetManager.UpdateAppWidget Method
Set the RemoteViews to use for all AppWidget instances for the supplied AppWidget provider.

Syntax

[Android.Runtime.Register("updateAppWidget", "(Landroid/content/ComponentName;Landroid/widget/RemoteViews;)V", "GetUpdateAppWidget_Landroid_content_ComponentName_Landroid_widget_RemoteViews_Handler")]
public virtual void UpdateAppWidget (Android.Content.ComponentName provider, Android.Widget.RemoteViews views)

Parameters

provider
The Android.Content.ComponentName for the Android.Content.BroadcastReceiver provider for your AppWidget.
views
The RemoteViews object to show.

Remarks

Set the RemoteViews to use for all AppWidget instances for the supplied AppWidget provider.

It is okay to call this method both inside an AppWidgetManager.ActionAppwidgetUpdate broadcast, and outside of the handler. This method will only work when called from the uid that owns the AppWidget provider.

[Android Documentation]

Requirements

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