Android.Appwidget.AppWidgetManager.ExtraAppwidgetOldIds Field
An intent extra that contains multiple appWidgetIds.

Syntax

[Android.Runtime.Register("EXTRA_APPWIDGET_OLD_IDS")]
public const string ExtraAppwidgetOldIds

Remarks

An intent extra that contains multiple appWidgetIds. These are id values as they were provided to the application during a recent restore from backup. It is attached to the AppWidgetManager.ActionAppwidgetRestored broadcast intent.

The value will be an int array that can be retrieved like this:

java Example

Bundle extras = intent.getExtras();
int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS);

[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