Android.Service.Textservice.SpellCheckerService Class
SpellCheckerService provides an abstract base class for a spell checker.

See Also: SpellCheckerService Members

Syntax

[Android.Runtime.Register("android/service/textservice/SpellCheckerService", DoNotGenerateAcw=true)]
public abstract class SpellCheckerService : Android.App.Service

Remarks

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.

Returning spell check results

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()

[Android Documentation]

Requirements

Namespace: Android.Service.Textservice
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14