Język

SuggestionsAttributes Enum

Definition

Enumerates values returned by several types.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum SuggestionsAttributes
[<System.Flags>]
type SuggestionsAttributes = 
Inheritance
SuggestionsAttributes
Attributes

Fields

Name Value Description
None 0

No suggestion attribute flags are set.

InTheDictionary 1

Flag of the attributes of the suggestions that can be obtained by getSuggestionsAttributes(): this tells that the requested word was found in the dictionary in the text service.

Android reference for android.view.textservice.SuggestionsInfo.RESULT_ATTR_IN_THE_DICTIONARY.

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.

LooksLikeTypo 2

Flag of the attributes of the suggestions that can be obtained by getSuggestionsAttributes(): this tells that the text service thinks the requested word looks like a typo.

Android reference for android.view.textservice.SuggestionsInfo.RESULT_ATTR_LOOKS_LIKE_TYPO.

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.

HasRecommendedSuggestions 4

Flag of the attributes of the suggestions that can be obtained by getSuggestionsAttributes(): this tells that the text service thinks the result suggestions include highly recommended ones.

Android reference for android.view.textservice.SuggestionsInfo.RESULT_ATTR_HAS_RECOMMENDED_SUGGESTIONS.

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.

LooksLikeGrammarError 8

Flag of the attributes of the suggestions that can be obtained by getSuggestionsAttributes(): this tells that the text service thinks the requested sentence contains a grammar error.

Android reference for android.view.textservice.SuggestionsInfo.RESULT_ATTR_LOOKS_LIKE_GRAMMAR_ERROR.

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.

DontShowUiForSuggestions 16

Flag of the attributes of the suggestions that can be obtained by getSuggestionsAttributes(): this tells that the text service has an alternative way to show UI for the list of correction suggestions to the user. When this flag is set, the receiver of the result suggestions should mark the erroneous part of the text with a text signifier (for example, underline), but should not show any UI for the list of correction suggestions to the user (for example, in a popup window).

Android reference for android.view.textservice.SuggestionsInfo.RESULT_ATTR_DONT_SHOW_UI_FOR_SUGGESTIONS.

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.

Remarks

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