android.view.inputmethod
Interface InputMethod

All Known Implementing Classes:
AbstractInputMethodService.AbstractInputMethodImpl, InputMethodService.InputMethodImpl

public interface InputMethod


Nested Class Summary
static interface InputMethod.SessionCallback
           
 
Field Summary
static String SERVICE_INTERFACE
           
static String SERVICE_META_DATA
           
static int SHOW_EXPLICIT
           
static int SHOW_FORCED
           
 
Method Summary
 void attachToken(IBinder token)
           
 void bindInput(InputBinding binding)
           
 void changeInputMethodSubtype(InputMethodSubtype subtype)
           
 void createSession(InputMethod.SessionCallback callback)
           
 void hideSoftInput(int flags, ResultReceiver resultReceiver)
           
 void restartInput(InputConnection inputConnection, EditorInfo attribute)
           
 void revokeSession(InputMethodSession session)
           
 void setSessionEnabled(InputMethodSession session, boolean enabled)
           
 void showSoftInput(int flags, ResultReceiver resultReceiver)
           
 void startInput(InputConnection inputConnection, EditorInfo info)
           
 void unbindInput()
           
 

Field Detail

SERVICE_INTERFACE

static final String SERVICE_INTERFACE
See Also:
Constant Field Values

SERVICE_META_DATA

static final String SERVICE_META_DATA
See Also:
Constant Field Values

SHOW_EXPLICIT

static final int SHOW_EXPLICIT
See Also:
Constant Field Values

SHOW_FORCED

static final int SHOW_FORCED
See Also:
Constant Field Values
Method Detail

attachToken

void attachToken(IBinder token)

bindInput

void bindInput(InputBinding binding)

unbindInput

void unbindInput()

startInput

void startInput(InputConnection inputConnection,
                EditorInfo info)

restartInput

void restartInput(InputConnection inputConnection,
                  EditorInfo attribute)

createSession

void createSession(InputMethod.SessionCallback callback)

setSessionEnabled

void setSessionEnabled(InputMethodSession session,
                       boolean enabled)

revokeSession

void revokeSession(InputMethodSession session)

showSoftInput

void showSoftInput(int flags,
                   ResultReceiver resultReceiver)

hideSoftInput

void hideSoftInput(int flags,
                   ResultReceiver resultReceiver)

changeInputMethodSubtype

void changeInputMethodSubtype(InputMethodSubtype subtype)


Copyright © 2008-2012. All Rights Reserved.