java.lang.Object | |
↳ | android.inputmethodservice.AbstractInputMethodService.AbstractInputMethodSessionImpl |
Known Direct Subclasses |
Base class for derived classes to implement their InputMethodSession
interface. This takes care of basic maintenance of the session,
but most behavior must be implemented in a derived class.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Take care of dispatching incoming key events to the appropriate
callbacks on the service, and tell the client when this is done.
| |||||||||||
Take care of dispatching incoming trackball events to the appropriate
callbacks on the service, and tell the client when this is done.
| |||||||||||
Check whether this session has been enabled by the system.
| |||||||||||
Check whether this session has been revoked by the system.
| |||||||||||
Revoke the session from the client.
| |||||||||||
Change the enabled state of the session.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
| |||||||||||
From interface android.view.inputmethod.InputMethodSession
|
Take care of dispatching incoming key events to the appropriate callbacks on the service, and tell the client when this is done.
event | The key event. |
---|
Take care of dispatching incoming trackball events to the appropriate callbacks on the service, and tell the client when this is done.
event | The motion event. |
---|
Check whether this session has been enabled by the system. If not enabled, you should not execute any calls on to it.
Check whether this session has been revoked by the system. Revoked session is also always disabled, so there is generally no need to explicitly check for this.
Revoke the session from the client. This disabled the session, and prevents it from ever being enabled again.
Change the enabled state of the session. This only works if the session has not been revoked.