Android APIs
public class

InputMethodService.InputMethodImpl

extends AbstractInputMethodService.AbstractInputMethodImpl
java.lang.Object
   ↳ android.inputmethodservice.AbstractInputMethodService.AbstractInputMethodImpl
     ↳ android.inputmethodservice.InputMethodService.InputMethodImpl

Class Overview

Concrete implementation of AbstractInputMethodService.AbstractInputMethodImpl that provides all of the standard behavior for an input method.

Summary

[Expand]
Inherited Constants
From interface android.view.inputmethod.InputMethod
Public Constructors
InputMethodService.InputMethodImpl()
Public Methods
void attachToken(IBinder token)
Take care of attaching the given window token provided by the system.
void bindInput(InputBinding binding)
Handle a new input binding, calling InputMethodService.onBindInput() when done.
void changeInputMethodSubtype(InputMethodSubtype subtype)
void hideSoftInput(int flags, ResultReceiver resultReceiver)
Handle a request by the system to hide the soft input area.
void restartInput(InputConnection ic, EditorInfo attribute)
void showSoftInput(int flags, ResultReceiver resultReceiver)
Handle a request by the system to show the soft input area.
void startInput(InputConnection ic, EditorInfo attribute)
void unbindInput()
Clear the current input binding.
[Expand]
Inherited Methods
From class android.inputmethodservice.AbstractInputMethodService.AbstractInputMethodImpl
From class java.lang.Object
From interface android.view.inputmethod.InputMethod

Public Constructors

public InputMethodService.InputMethodImpl ()

Added in API level 3

Public Methods

public void attachToken (IBinder token)

Added in API level 3

Take care of attaching the given window token provided by the system.

Parameters
token IBinder

public void bindInput (InputBinding binding)

Added in API level 3

Handle a new input binding, calling InputMethodService.onBindInput() when done.

Parameters
binding InputBinding

public void changeInputMethodSubtype (InputMethodSubtype subtype)

Added in API level 11

Parameters
subtype InputMethodSubtype

public void hideSoftInput (int flags, ResultReceiver resultReceiver)

Added in API level 3

Handle a request by the system to hide the soft input area.

Parameters
flags int
resultReceiver ResultReceiver

public void restartInput (InputConnection ic, EditorInfo attribute)

Added in API level 3

Parameters
ic InputConnection
attribute EditorInfo

public void showSoftInput (int flags, ResultReceiver resultReceiver)

Added in API level 3

Handle a request by the system to show the soft input area.

Parameters
flags int
resultReceiver ResultReceiver

public void startInput (InputConnection ic, EditorInfo attribute)

Added in API level 3

Parameters
ic InputConnection
attribute EditorInfo

public void unbindInput ()

Added in API level 3

Clear the current input binding.