Share via


AppWidgetHost.GetAppWidgetIds Method

Definition

Gets a list of all the appWidgetIds that are bound to the current host

[Android.Runtime.Register("getAppWidgetIds", "()[I", "GetGetAppWidgetIdsHandler", ApiSince=26)]
public virtual int[]? GetAppWidgetIds ();
[<Android.Runtime.Register("getAppWidgetIds", "()[I", "GetGetAppWidgetIdsHandler", ApiSince=26)>]
abstract member GetAppWidgetIds : unit -> int[]
override this.GetAppWidgetIds : unit -> int[]

Returns

Int32[]
Attributes

Remarks

Gets a list of all the appWidgetIds that are bound to the current host

Java documentation for android.appwidget.AppWidgetHost.getAppWidgetIds().

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