Share via


AppWidgetManager.GetAppWidgetInfo(Int32) Method

Definition

Get the available info about the AppWidget.

[Android.Runtime.Register("getAppWidgetInfo", "(I)Landroid/appwidget/AppWidgetProviderInfo;", "GetGetAppWidgetInfo_IHandler")]
public virtual Android.Appwidget.AppWidgetProviderInfo? GetAppWidgetInfo (int appWidgetId);
[<Android.Runtime.Register("getAppWidgetInfo", "(I)Landroid/appwidget/AppWidgetProviderInfo;", "GetGetAppWidgetInfo_IHandler")>]
abstract member GetAppWidgetInfo : int -> Android.Appwidget.AppWidgetProviderInfo
override this.GetAppWidgetInfo : int -> Android.Appwidget.AppWidgetProviderInfo

Parameters

appWidgetId
Int32

Returns

A appWidgetId. If the appWidgetId has not been bound to a provider yet, or you don't have access to that appWidgetId, null is returned.

Attributes

Remarks

Get the available info about the AppWidget.

Java documentation for android.appwidget.AppWidgetManager.getAppWidgetInfo(int).

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