LauncherApps.PinItemRequest.GetAppWidgetProviderInfo(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.
AppWidgetProviderInfo
sent by the requesting app.
[Android.Runtime.Register("getAppWidgetProviderInfo", "(Landroid/content/Context;)Landroid/appwidget/AppWidgetProviderInfo;", "", ApiSince=26)]
public Android.Appwidget.AppWidgetProviderInfo? GetAppWidgetProviderInfo (Android.Content.Context? context);
[<Android.Runtime.Register("getAppWidgetProviderInfo", "(Landroid/content/Context;)Landroid/appwidget/AppWidgetProviderInfo;", "", ApiSince=26)>]
member this.GetAppWidgetProviderInfo : Android.Content.Context -> Android.Appwidget.AppWidgetProviderInfo
Parameters
- context
- Context
Returns
requested AppWidgetProviderInfo
when a request is of the
#REQUEST_TYPE_APPWIDGET
type. Null otherwise.
- Attributes
Remarks
AppWidgetProviderInfo
sent by the requesting app. Always non-null for a #REQUEST_TYPE_APPWIDGET
request, and always null for a different request type.
Launcher should not show any configuration activity associated with the provider, and assume that the widget is already fully configured. Upon accepting the widget, it should pass the widgetId in #accept(Bundle)
.
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.