共用方式為


AppWidgetProviderInfo.WidgetCategory Property

Definition

Determines whether this widget can be displayed on the home screen, the keyguard, or both.

[Android.Runtime.GeneratedEnum]
[Android.Runtime.Register("widgetCategory")]
public Android.Appwidget.AppWidgetCategory WidgetCategory { get; set; }
[<Android.Runtime.GeneratedEnum>]
[<Android.Runtime.Register("widgetCategory")>]
member this.WidgetCategory : Android.Appwidget.AppWidgetCategory with get, set

Property Value

Attributes

Remarks

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