java.lang.Object | |
↳ | android.view.textservice.SentenceSuggestionsInfo |
This class contains a metadata of suggestions returned from a text service
(e.g.
SpellCheckerService
).
The text service uses this class to return the suggestions
for a sentence. See
SuggestionsInfo
which is used for suggestions for a word.
This class extends the functionality of
SuggestionsInfo
as far as this class enables
you to put multiple
SuggestionsInfo
s on a sentence with the offsets and the lengths
of all
SuggestionsInfo
s.
[Expand]
Inherited Constants
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
CREATOR | Used to make this class parcelable. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Constructor.
|
||||||||||
|
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
|
||||||||||
|
|
||||||||||
|
|
||||||||||
|
|
||||||||||
|
|
||||||||||
|
Used to package this object into a
Parcel
.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
|||||||||||
From interface
android.os.Parcelable
|
Used to make this class parcelable.
Constructor.
suggestionsInfos | from the text service |
---|---|
offsets | the array of offsets of suggestions |
lengths | the array of lengths of suggestions |
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
i |
the id of
SuggestionsInfo
s this instance holds
|
---|
SuggestionsInfo
i |
the id of
SuggestionsInfo
s this instance holds
|
---|
SuggestionsInfo
SuggestionsInfo
s this instance holds.
i |
the id of
SuggestionsInfo
s this instance holds.
|
---|
SuggestionsInfo
at the specified id