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 | |
|---|---|
| 
      InputMethodImpl()
       | |
| Public methods | |
|---|---|
| 
        
        
        
        
        
        void | 
      attachToken(IBinder token)
      
  | 
| 
        
        
        
        
        
        void | 
      bindInput(InputBinding binding)
      
 Calls  | 
| 
        
        
        
        
        
        void | 
      changeInputMethodSubtype(InputMethodSubtype subtype)
      
  | 
| 
        
        
        
        
        
        void | 
      hideSoftInput(int flags, ResultReceiver resultReceiver)
      
  | 
| 
        
        
        
        
        
        void | 
      restartInput(InputConnection ic, EditorInfo editorInfo)
      
  | 
| 
        
        
        
        
        
        void | 
      showSoftInput(int flags, ResultReceiver resultReceiver)
      
  | 
| 
        
        
        
        
        
        void | 
      startInput(InputConnection ic, EditorInfo editorInfo)
      
  | 
| 
        
        
        
        
        
        void | 
      unbindInput()
      
 Calls  | 
| Inherited methods | |
|---|---|
Public constructors
InputMethodImpl
public InputMethodImpl ()
Public methods
attachToken
public void attachToken (IBinder token)
 
 This method must be called from the main thread of your app.
| Parameters | |
|---|---|
| token | IBinder | 
bindInput
public void bindInput (InputBinding binding)
Calls InputMethodService.onBindInput() when done.
This method must be called from the main thread of your app.
| Parameters | |
|---|---|
| binding | InputBinding | 
changeInputMethodSubtype
public void changeInputMethodSubtype (InputMethodSubtype subtype)
 
 This method must be called from the main thread of your app.
| Parameters | |
|---|---|
| subtype | InputMethodSubtype | 
hideSoftInput
public void hideSoftInput (int flags, 
                ResultReceiver resultReceiver)
 
 This method must be called from the main thread of your app.
| Parameters | |
|---|---|
| flags | int | 
| resultReceiver | ResultReceiver | 
restartInput
public void restartInput (InputConnection ic, EditorInfo editorInfo)
 
 This method must be called from the main thread of your app.
| Parameters | |
|---|---|
| ic | InputConnection | 
| editorInfo | EditorInfo | 
showSoftInput
public void showSoftInput (int flags, 
                ResultReceiver resultReceiver)
 
 This method must be called from the main thread of your app.
| Parameters | |
|---|---|
| flags | int | 
| resultReceiver | ResultReceiver | 
startInput
public void startInput (InputConnection ic, EditorInfo editorInfo)
 
 This method must be called from the main thread of your app.
| Parameters | |
|---|---|
| ic | InputConnection | 
| editorInfo | EditorInfo | 
unbindInput
public void unbindInput ()
Calls InputMethodService.onUnbindInput() when done.
This method must be called from the main thread of your app.
