Udostępnij za pośrednictwem


TextClassificationContext.WidgetType Property

Definition

Returns the widget type for this classification context.

public string WidgetType { [Android.Runtime.Register("getWidgetType", "()Ljava/lang/String;", "", ApiSince=28)] [Android.Runtime.StringDef(Fields=new System.String[] { "WidgetTypeTextview", "WidgetTypeEdittext", "WidgetTypeUnselectableTextview", "WidgetTypeWebview", "WidgetTypeEditWebview", "WidgetTypeCustomTextview", "WidgetTypeCustomEdittext", "WidgetTypeCustomUnselectableTextview", "WidgetTypeNotification", "WidgetTypeClipboard", "WidgetTypeUnknown" }, Type="Android.Views.TextClassifiers.ITextClassifier")] get; }
[<get: Android.Runtime.Register("getWidgetType", "()Ljava/lang/String;", "", ApiSince=28)>]
[<get: Android.Runtime.StringDef(Fields=new System.String[] { "WidgetTypeTextview", "WidgetTypeEdittext", "WidgetTypeUnselectableTextview", "WidgetTypeWebview", "WidgetTypeEditWebview", "WidgetTypeCustomTextview", "WidgetTypeCustomEdittext", "WidgetTypeCustomUnselectableTextview", "WidgetTypeNotification", "WidgetTypeClipboard", "WidgetTypeUnknown" }, Type="Android.Views.TextClassifiers.ITextClassifier")>]
member this.WidgetType : string

Property Value

Attributes

Remarks

Returns the widget type for this classification context.

Java documentation for android.view.textclassifier.TextClassificationContext.getWidgetType().

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