Most visited

Recently visited

Added in API level 3

InputMethodService.InputMethodImpl

public class InputMethodService.InputMethodImpl
extends AbstractInputMethodService.AbstractInputMethodImpl

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


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

Summary

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.

Inherited methods

From class android.inputmethodservice.AbstractInputMethodService.AbstractInputMethodImpl
From class java.lang.Object
From interface android.view.inputmethod.InputMethod

Public constructors

InputMethodService.InputMethodImpl

Added in API level 3
InputMethodService.InputMethodImpl ()

Public methods

attachToken

Added in API level 3
void attachToken (IBinder token)

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

Parameters
token IBinder

bindInput

Added in API level 3
void bindInput (InputBinding binding)

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

Parameters
binding InputBinding

changeInputMethodSubtype

Added in API level 11
void changeInputMethodSubtype (InputMethodSubtype subtype)

Parameters
subtype InputMethodSubtype

hideSoftInput

Added in API level 3
void hideSoftInput (int flags, 
                ResultReceiver resultReceiver)

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

Parameters
flags int
resultReceiver ResultReceiver

restartInput

Added in API level 3
void restartInput (InputConnection ic, 
                EditorInfo attribute)

Parameters
ic InputConnection
attribute EditorInfo

showSoftInput

Added in API level 3
void showSoftInput (int flags, 
                ResultReceiver resultReceiver)

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

Parameters
flags int
resultReceiver ResultReceiver

startInput

Added in API level 3
void startInput (InputConnection ic, 
                EditorInfo attribute)

Parameters
ic InputConnection
attribute EditorInfo

unbindInput

Added in API level 3
void unbindInput ()

Clear the current input binding.

Hooray!