| java.lang.Object | |
| ↳ | android.view.textservice.SuggestionsInfo |
This class contains a metadata of suggestions from the text service
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | RESULT_ATTR_HAS_RECOMMENDED_SUGGESTIONS | 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. |
|||||||||
| int | RESULT_ATTR_IN_THE_DICTIONARY | 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. |
|||||||||
| int | RESULT_ATTR_LOOKS_LIKE_TYPO | 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. |
|||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| CREATOR | Used to make this class parcelable. | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructor.
| |||||||||||
Constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Used to make this class parcelable.
| |||||||||||
Set the cookie and the sequence of SuggestionsInfo which are set to TextInfo from a client
application
| |||||||||||
Used to package this object into a
Parcel. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
| |||||||||||
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.
Flag of the attribut
es of the suggestions that can be obtained by
getSuggestionsAttributes(): this tells that the requested word was found
in the dictionary in the text service.
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.
Used to make this class parcelable.
Constructor.
| suggestionsAttributes | from the text service |
|---|---|
| suggestions | from the text service |
Constructor.
| suggestionsAttributes | from the text service |
|---|---|
| suggestions | from the text service |
| cookie | the cookie of the input TextInfo |
| sequence | the cookie of the input TextInfo |
Used to make this class parcelable.
| i | the id of suggestions |
|---|
Set the cookie and the sequence of SuggestionsInfo which are set to TextInfo from a client application
| cookie | the cookie of an input TextInfo |
|---|---|
| sequence | the cookie of an input TextInfo |