Android APIs
public abstract class

AbstractInputMethodService.AbstractInputMethodImpl

extends Object
implements InputMethod
java.lang.Object
   ↳ android.inputmethodservice.AbstractInputMethodService.AbstractInputMethodImpl
Known Direct Subclasses

Class Overview

Base class for derived classes to implement their InputMethod interface. This takes care of basic maintenance of the input method, but most behavior must be implemented in a derived class.

Summary

[Expand]
Inherited Constants
From interface android.view.inputmethod.InputMethod
Public Constructors
AbstractInputMethodService.AbstractInputMethodImpl()
Public Methods
void createSession(InputMethod.SessionCallback callback)
Instantiate a new client session for the input method, by calling back to AbstractInputMethodService.onCreateInputMethodSessionInterface().
void revokeSession(InputMethodSession session)
Take care of killing an existing session by calling its AbstractInputMethodSessionImpl.revokeSelf() method.
void setSessionEnabled(InputMethodSession session, boolean enabled)
Take care of enabling or disabling an existing session by calling its AbstractInputMethodSessionImpl.setEnabled() method.
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.view.inputmethod.InputMethod

Public Constructors

public AbstractInputMethodService.AbstractInputMethodImpl ()

Added in API level 3

Public Methods

public void createSession (InputMethod.SessionCallback callback)

Added in API level 3

Instantiate a new client session for the input method, by calling back to AbstractInputMethodService.onCreateInputMethodSessionInterface().

Parameters
callback InputMethod.SessionCallback: Interface that is called with the newly created session.

public void revokeSession (InputMethodSession session)

Added in API level 3

Take care of killing an existing session by calling its AbstractInputMethodSessionImpl.revokeSelf() method.

Parameters
session InputMethodSession: The InputMethodSession previously provided through SessionCallback.sessionCreated() that is to be revoked.

public void setSessionEnabled (InputMethodSession session, boolean enabled)

Added in API level 3

Take care of enabling or disabling an existing session by calling its AbstractInputMethodSessionImpl.setEnabled() method.

Parameters
session InputMethodSession: The InputMethodSession previously provided through SessionCallback.sessionCreated() that is to be changed.
enabled boolean