Compartilhar via


AppWidgetHost.OnProviderChanged(Int32, AppWidgetProviderInfo) Method

Definition

Called when the AppWidget provider for a AppWidget has been upgraded to a new apk.

[Android.Runtime.Register("onProviderChanged", "(ILandroid/appwidget/AppWidgetProviderInfo;)V", "GetOnProviderChanged_ILandroid_appwidget_AppWidgetProviderInfo_Handler")]
protected virtual void OnProviderChanged (int appWidgetId, Android.Appwidget.AppWidgetProviderInfo? appWidget);
[<Android.Runtime.Register("onProviderChanged", "(ILandroid/appwidget/AppWidgetProviderInfo;)V", "GetOnProviderChanged_ILandroid_appwidget_AppWidgetProviderInfo_Handler")>]
abstract member OnProviderChanged : int * Android.Appwidget.AppWidgetProviderInfo -> unit
override this.OnProviderChanged : int * Android.Appwidget.AppWidgetProviderInfo -> unit

Parameters

appWidgetId
Int32
Attributes

Remarks

Called when the AppWidget provider for a AppWidget has been upgraded to a new apk.

Java documentation for android.appwidget.AppWidgetHost.onProviderChanged(int, android.appwidget.AppWidgetProviderInfo).

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