Android.Appwidget.AppWidgetManager.ActionAppwidgetRestored Field
Sent to an Android.Appwidget.AppWidgetProvider after AppWidget state related to that provider has been restored from backup.

Syntax

[Android.Runtime.Register("ACTION_APPWIDGET_RESTORED")]
public const string ActionAppwidgetRestored

See Also

AppWidgetManager.ActionAppwidgetHostRestored

Remarks

Sent to an Android.Appwidget.AppWidgetProvider after AppWidget state related to that provider has been restored from backup. The intent contains information about how to translate AppWidget ids from the restored data to their new equivalents.

The intent will contain the following extras:
AppWidgetManager.ExtraAppwidgetOldIdsThe set of appWidgetIds represented in a restored backup that have been successfully incorporated into the current environment. This may be all of the AppWidgets known to this application, or just a subset. Each entry in this array of appWidgetIds has a corresponding entry in the AppWidgetManager.ExtraAppwidgetIds extra.
AppWidgetManager.ExtraAppwidgetIdsThe set of appWidgetIds now valid for this application. The app should look at its restored widget configuration and translate each appWidgetId in the AppWidgetManager.ExtraAppwidgetOldIds array to its new value found at the corresponding index within this array.

This is a protected intent that can only be sent by the system.

[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