SpellCheckerSession.SpellCheckerSessionParams.Builder.SetSupportedAttributes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.