AppWidgetManager.GetAppWidgetInfo(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the AppWidgetProviderInfo
for the specified 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
Information regarding the provider of speficied widget, returns null if the appWidgetId has not been bound to a provider yet, or you don't have access to that widget.
- Attributes
Remarks
Returns the AppWidgetProviderInfo
for the specified 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.