Język

AppWidgetProviderInfo.WidgetFeatures Property

Definition

Gets or sets the widget feature hints for the host.

[Android.Runtime.GeneratedEnum]
[Android.Runtime.Register("widgetFeatures", ApiSince=28)]
public Android.Appwidget.WidgetFeatures WidgetFeatures { get; set; }
[<Android.Runtime.GeneratedEnum>]
[<Android.Runtime.Register("widgetFeatures", ApiSince=28)>]
member this.WidgetFeatures : Android.Appwidget.WidgetFeatures with get, set

Property Value

A bitwise combination of WidgetFeatures values.

Attributes

Remarks

These flags tell the host which features the widget supports. They are hints to the host and do not change the widget's behavior by themselves.

Android 16 source for the widget feature flags.

Applies to