Share via


AppWidgetManager.OptionAppwidgetHostCategory Field

Definition

A bundle extra that hints to the AppWidgetProvider the category of host that owns this this widget.

[Android.Runtime.Register("OPTION_APPWIDGET_HOST_CATEGORY")]
public const string OptionAppwidgetHostCategory;
[<Android.Runtime.Register("OPTION_APPWIDGET_HOST_CATEGORY")>]
val mutable OptionAppwidgetHostCategory : string

Field Value

Attributes

Remarks

A bundle extra that hints to the AppWidgetProvider the category of host that owns this this widget. Can have the value AppWidgetProviderInfo#WIDGET_CATEGORY_HOME_SCREEN or AppWidgetProviderInfo#WIDGET_CATEGORY_KEYGUARD or AppWidgetProviderInfo#WIDGET_CATEGORY_SEARCHBOX.

Java documentation for android.appwidget.AppWidgetManager.OPTION_APPWIDGET_HOST_CATEGORY.

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