Udostępnij za pośrednictwem


AppWidgetManager.GetInstance(Context) Method

Definition

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

Returns

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.

Applies to