SelectionEvent.WidgetType 属性

定义

返回触发此事件时涉及的小组件的类型。

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

属性值

属性

注解

返回触发此事件时涉及的小组件的类型。

适用于 . 的 android.view.textclassifier.SelectionEvent.getWidgetType()Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于