AppWidgetProviderInfo.WidgetCategoryHomeScreen 字段

定义

注意

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

指示小组件可以在主屏幕上显示。

[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

字段值

Value = 1

实现

属性

注解

指示小组件可以在主屏幕上显示。 这是默认值。

适用于 . 的 android.appwidget.AppWidgetProviderInfo.WIDGET_CATEGORY_HOME_SCREENJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于