See Also: SpellCheckerService Members
SpellCheckerService provides an abstract base class for a spell checker. This class combines a service to the system with the spell checker service interface that spell checker must implement.
In addition to the normal Service lifecycle methods, this class introduces a new specific callback that subclasses should override SpellCheckerService.CreateSession to provide a spell checker session that is corresponding to requested language and so on. The spell checker session returned by this method should extend NoType:android/service/textservice/SpellCheckerService$Session;Href=../../../../reference/android/service/textservice/SpellCheckerService.Session.html.
NoType:android/service/textservice/SpellCheckerService$Session;Href=../../../../reference/android/service/textservice/SpellCheckerService.Session.html#onGetSuggestions(android.view.textservice.TextInfo, int) should return spell check results. It receives Android.Views.TextService.TextInfo and returns Android.Views.TextService.SuggestionsInfo for the input. You may want to override NoType:android/service/textservice/SpellCheckerService$Session;Href=../../../../reference/android/service/textservice/SpellCheckerService.Session.html#onGetSuggestionsMultiple(android.view.textservice.TextInfo[], int, boolean) for better performance and quality.
Please note that NoType:android/service/textservice/SpellCheckerService$Session;Href=../../../../reference/android/service/textservice/SpellCheckerService.Session.html#getLocale() does not return a valid locale before NoType:android/service/textservice/SpellCheckerService$Session;Href=../../../../reference/android/service/textservice/SpellCheckerService.Session.html#onCreate()