to top
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

? Examples
InputMethodService.InputMethodImpl()
Public Methods

? Examples
void attachToken( IBinder token)
Take care of attaching the given window token provided by the system.

? Examples
void bindInput( InputBinding binding)
Handle a new input binding, calling InputMethodService.onBindInput() when done.

? Examples
void changeInputMethodSubtype( InputMethodSubtype subtype)

? Examples
void hideSoftInput(int flags, ResultReceiver resultReceiver)
Handle a request by the system to hide the soft input area.

? Examples
void restartInput( InputConnection ic, EditorInfo attribute)

? Examples
void showSoftInput(int flags, ResultReceiver resultReceiver)
Handle a request by the system to show the soft input area.

? Examples
void startInput( InputConnection ic, EditorInfo attribute)

? Examples
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.

public void bindInput (InputBinding binding)

Added in API level 3

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

public void changeInputMethodSubtype (InputMethodSubtype subtype)

Added in API level 11

public void hideSoftInput (int flags, ResultReceiver resultReceiver)

Added in API level 3

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

public void restartInput (InputConnection ic, EditorInfo attribute)

Added in API level 3

public void showSoftInput (int flags, ResultReceiver resultReceiver)

Added in API level 3

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

public void startInput (InputConnection ic, EditorInfo attribute)

Added in API level 3

public void unbindInput ()

Added in API level 3

Clear the current input binding.

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.