語言

SpellCheckerSession.SpellCheckerSessionParams.SupportedAttributes 屬性

定義

回傳一個屬性 SuggestionsInfo 的位元遮罩,拼字檢查器可在其中設定 SuggestionsInfo 。

public virtual int SupportedAttributes { [Android.Runtime.Register("getSupportedAttributes", "()I", "GetGetSupportedAttributesHandler", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getSupportedAttributes", "()I", "GetGetSupportedAttributesHandler", ApiSince=31)>]
member this.SupportedAttributes : int

屬性值

值可以是 0,或是以下組合:SuggestionsInfo.RESULT_ATTR_IN_THE_DICTIONARY;SuggestionsInfo.RESULT_ATTR_LOOKS_LIKE_TYPO;SuggestionsInfo.RESULT_ATTR_HAS_RECOMMENDED_SUGGESTIONS;SuggestionsInfo.RESULT_ATTR_LOOKS_LIKE_GRAMMAR_ERROR;SuggestionsInfo.RESULT_ATTR_DONT_SHOW_UI_FOR_SUGGESTIONS

屬性

備註

回傳一個屬性 SuggestionsInfo 的位元遮罩,拼字檢查器可在其中設定 SuggestionsInfo 。

Java 文件 android.view.textservice.SpellCheckerSession.SpellCheckerSessionParams.getSupportedAttributes()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於