Język

SpellCheckerSession.SpellCheckerSessionParams.Builder.SetSupportedAttributes Method

Definition

Sets a bitmask of SuggestionsInfo attributes that the spell checker can set in SuggestionsInfo it returns.

[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

Parameters

supportedAttributes
Int32

Value is either 0 or a combination of the following: 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

Returns

This builder.

Attributes

Remarks

Sets a bitmask of SuggestionsInfo attributes that the spell checker can set in SuggestionsInfo it returns.

Android reference for android.view.textservice.SpellCheckerSession.SpellCheckerSessionParams.Builder.setSupportedAttributes.

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.

Applies to