AppWidgetManager.GetAppWidgetIds(ComponentName) 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.
Get the list of appWidgetIds that have been bound to the given AppWidget provider.
[Android.Runtime.Register("getAppWidgetIds", "(Landroid/content/ComponentName;)[I", "GetGetAppWidgetIds_Landroid_content_ComponentName_Handler")]
public virtual int[]? GetAppWidgetIds (Android.Content.ComponentName? provider);
[<Android.Runtime.Register("getAppWidgetIds", "(Landroid/content/ComponentName;)[I", "GetGetAppWidgetIds_Landroid_content_ComponentName_Handler")>]
abstract member GetAppWidgetIds : Android.Content.ComponentName -> int[]
override this.GetAppWidgetIds : Android.Content.ComponentName -> int[]
Parameters
- provider
- ComponentName
The android.content.BroadcastReceiver
that is the
AppWidget provider to find appWidgetIds for.
Returns
- Attributes
Remarks
Get the list of appWidgetIds that have been bound to the given AppWidget provider.
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.