AppWidgetManager.GetInstance(Context) 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 AppWidgetManager instance to use for the supplied android.content.Context
Context object.
[Android.Runtime.Register("getInstance", "(Landroid/content/Context;)Landroid/appwidget/AppWidgetManager;", "")]
public static Android.Appwidget.AppWidgetManager? GetInstance(Android.Content.Context? context);
[<Android.Runtime.Register("getInstance", "(Landroid/content/Context;)Landroid/appwidget/AppWidgetManager;", "")>]
static member GetInstance : Android.Content.Context -> Android.Appwidget.AppWidgetManager
Parameters
- context
- Context
The context from which to get the app widget system service.
Returns
The app widget manager obtained from the supplied context.
- Attributes
Remarks
Get the AppWidgetManager instance to use for the supplied android.content.Context Context object.
Java documentation for android.appwidget.AppWidgetManager.getInstance(android.content.Context).
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.