SelectionEvent.WidgetType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Value is one of the following: TextClassifier.WIDGET_TYPE_TEXTVIEW TextClassifier.WIDGET_TYPE_EDITTEXT TextClassifier.WIDGET_TYPE_UNSELECTABLE_TEXTVIEW TextClassifier.WIDGET_TYPE_WEBVIEW TextClassifier.WIDGET_TYPE_EDIT_WEBVIEW TextClassifier.WIDGET_TYPE_CUSTOM_TEXTVIEW TextClassifier.WIDGET_TYPE_CUSTOM_EDITTEXT TextClassifier.WIDGET_TYPE_CUSTOM_UNSELECTABLE_TEXTVIEW TextClassifier.WIDGET_TYPE_NOTIFICATION TextClassifier.WIDGET_TYPE_CLIPBOARD TextClassifier.WIDGET_TYPE_UNKNOWN . This value cannot be null.
- Attributes
Remarks
Returns the type of widget that was involved in triggering this event.
Android reference 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.