共用方式為


TextClassificationContext.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.TextClassificationContext.getWidgetType()Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於