共用方式為


AppWidgetProviderInfo.WidgetFeatureHideFromPicker Field

Definition

Caution

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

The widget is added directly by the app, and the host may hide this widget when providing the user with the list of available widgets to choose from.

[Android.Runtime.Register("WIDGET_FEATURE_HIDE_FROM_PICKER", ApiSince=28)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Appwidget.WidgetFeatures enum directly instead of this field.", true)]
public const Android.Appwidget.WidgetFeatures WidgetFeatureHideFromPicker = 2;
[<Android.Runtime.Register("WIDGET_FEATURE_HIDE_FROM_PICKER", ApiSince=28)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Appwidget.WidgetFeatures enum directly instead of this field.", true)>]
val mutable WidgetFeatureHideFromPicker : Android.Appwidget.WidgetFeatures

Field Value

Value = 2

Implements

Attributes

Remarks

The widget is added directly by the app, and the host may hide this widget when providing the user with the list of available widgets to choose from.

Java documentation for android.appwidget.AppWidgetProviderInfo.WIDGET_FEATURE_HIDE_FROM_PICKER.

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