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

Public constructors

InputMethodService.InputMethodImpl()

Public methods

void attachToken(IBinder token)

void bindInput(InputBinding binding)

Calls onBindInput() when done.

void changeInputMethodSubtype(InputMethodSubtype subtype)

void hideSoftInput(int flags, ResultReceiver resultReceiver)

void restartInput(InputConnection ic, EditorInfo attribute)

void showSoftInput(int flags, ResultReceiver resultReceiver)

void startInput(InputConnection ic, EditorInfo attribute)

void unbindInput()

Calls onUnbindInput() when done.

Inherited methods

Public constructors

InputMethodService.InputMethodImpl

added in API level 3
InputMethodService.InputMethodImpl ()

Public methods

attachToken

added in API level 3
void attachToken (IBinder token)

This method must be called from the main thread of your app.

Parameters
token IBinder

bindInput

added in API level 3
void bindInput (InputBinding binding)

Calls onBindInput() when done.

This method must be called from the main thread of your app.

Parameters
binding InputBinding

changeInputMethodSubtype

added in API level 11
void changeInputMethodSubtype (InputMethodSubtype subtype)

This method must be called from the main thread of your app.

Parameters
subtype InputMethodSubtype

hideSoftInput

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

This method must be called from the main thread of your app.

Parameters
flags int

resultReceiver ResultReceiver

restartInput

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

This method must be called from the main thread of your app.

Parameters
ic InputConnection

attribute EditorInfo

showSoftInput

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

This method must be called from the main thread of your app.

Parameters
flags int

resultReceiver ResultReceiver

startInput

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

This method must be called from the main thread of your app.

Parameters
ic InputConnection

attribute EditorInfo

unbindInput

added in API level 3
void unbindInput ()

Calls onUnbindInput() when done.

This method must be called from the main thread of your app.