SpellCheckerSession.SpellCheckerSessionParams.Builder.SetSupportedAttributes 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
它會設定一個 SuggestionsInfo 屬性的位元遮罩,拼字檢查器可以在回傳的 SuggestionsInfo 中設定這些屬性。
[Android.Runtime.Register("setSupportedAttributes", "(I)Landroid/view/textservice/SpellCheckerSession$SpellCheckerSessionParams$Builder;", "", ApiSince=31)]
public Android.Views.TextService.SpellCheckerSession.SpellCheckerSessionParams.Builder SetSupportedAttributes(int supportedAttributes);
[<Android.Runtime.Register("setSupportedAttributes", "(I)Landroid/view/textservice/SpellCheckerSession$SpellCheckerSessionParams$Builder;", "", ApiSince=31)>]
member this.SetSupportedAttributes : int -> Android.Views.TextService.SpellCheckerSession.SpellCheckerSessionParams.Builder
參數
- supportedAttributes
- Int32
值可以是 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 中設定這些屬性。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。