SuggestionsAttributes Enum
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.
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 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 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. 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 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). 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.