Udostępnij za pośrednictwem


AppWidgetProviderInfo.WidgetCategoryHomeScreen Field

Definition

Caution

This constant will be removed in the future version. Use Android.Appwidget.AppWidgetCategory enum directly instead of this field.

Indicates that the widget can be displayed on the home screen.

[Android.Runtime.Register("WIDGET_CATEGORY_HOME_SCREEN")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Appwidget.AppWidgetCategory enum directly instead of this field.", true)]
public const Android.Appwidget.AppWidgetCategory WidgetCategoryHomeScreen = 1;
[<Android.Runtime.Register("WIDGET_CATEGORY_HOME_SCREEN")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Appwidget.AppWidgetCategory enum directly instead of this field.", true)>]
val mutable WidgetCategoryHomeScreen : Android.Appwidget.AppWidgetCategory

Field Value

Value = 1

Implements

Attributes

Remarks

Indicates that the widget can be displayed on the home screen. This is the default value.

Java documentation for android.appwidget.AppWidgetProviderInfo.WIDGET_CATEGORY_HOME_SCREEN.

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