java.lang.Object | |
↳ | android.service.textservice.SpellCheckerService.Session |
This abstract class should be overridden by a concrete implementation of a spell checker.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Request to abort all tasks executed in SpellChecker.
| |||||||||||
This is called after the class is initialized, at which point it knows it can call
getLocale() etc...
| |||||||||||
Get suggestions for specified text in TextInfo.
| |||||||||||
A batch process of onGetSuggestions.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Request to abort all tasks executed in SpellChecker. This function will run on the incoming IPC thread. So, this is not called on the main thread, but will be called in series on another thread.
This is called after the class is initialized, at which point it knows it can call getLocale() etc...
Get suggestions for specified text in TextInfo. This function will run on the incoming IPC thread. So, this is not called on the main thread, but will be called in series on another thread.
textInfo | the text metadata |
---|---|
suggestionsLimit | the number of limit of suggestions returned |
A batch process of onGetSuggestions. This function will run on the incoming IPC thread. So, this is not called on the main thread, but will be called in series on another thread.
textInfos | an array of the text metadata |
---|---|
suggestionsLimit | the number of limit of suggestions returned |
sequentialWords | true if textInfos can be treated as sequential words. |