Share via


SelectionEvent.WidgetType Property

Definition

Returns the type of widget that was involved in triggering this event.

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 type of widget that was involved in triggering this event.

Java documentation for android.view.textclassifier.SelectionEvent.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