Freigeben über


AppWidgetManager.ActionAppwidgetUpdate Field

Definition

Sent when it is time to update your AppWidget.

[Android.Runtime.Register("ACTION_APPWIDGET_UPDATE")]
public const string ActionAppwidgetUpdate;
[<Android.Runtime.Register("ACTION_APPWIDGET_UPDATE")>]
val mutable ActionAppwidgetUpdate : string

Field Value

Attributes

Remarks

Sent when it is time to update your AppWidget.

This may be sent in response to a new instance for this AppWidget provider having been instantiated, the requested AppWidgetProviderInfo#updatePeriodMillis update interval having lapsed, or the system booting.

The intent will contain the following extras: <table> <tr> <td>#EXTRA_APPWIDGET_IDS</td> <td>The appWidgetIds to update. This may be all of the AppWidgets created for this provider, or just a subset. The system tries to send updates for as few AppWidget instances as possible.</td> </tr> </table>

Java documentation for android.appwidget.AppWidgetManager.ACTION_APPWIDGET_UPDATE.

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

  • <xref:Android.Appwidget.AppWidgetProvider.OnUpdate(Android.Content.Context%2c+Android.Appwidget.AppWidgetManager%2c+Android.Appwidget.AppWidgetManager)>