public abstract class AbstractInputMethodService extends android.app.Service implements KeyEvent.Callback
AbstractInputMethodService provides a abstract base class for input methods.
Normal input method implementations will not derive from this directly,
instead building on top of {@link InputMethodService} or another more
complete base class. Be sure to read {@link InputMethod} for more
information on the basics of writing input methods.
This class combines a Service (representing the input method component
to the system with the InputMethod interface that input methods must
implement. This base class takes care of reporting your InputMethod from
the service when clients bind to it, but provides no standard implementation
of the InputMethod interface itself. Derived classes must implement that
interface.
Return the global {@link KeyEvent.DispatcherState KeyEvent.DispatcherState}
for used for processing events from the target application.
Normally you will not need to use this directly, but
just use the standard high-level event callbacks like {@link #onKeyDown}.