Android APIs
public class

InputMethodService.InputMethodSessionImpl

extends AbstractInputMethodService.AbstractInputMethodSessionImpl
java.lang.Object
   ↳ android.inputmethodservice.AbstractInputMethodService.AbstractInputMethodSessionImpl
     ↳ android.inputmethodservice.InputMethodService.InputMethodSessionImpl

Class Overview

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

Summary

Public Constructors
InputMethodService.InputMethodSessionImpl()
Public Methods
void appPrivateCommand(String action, Bundle data)
void displayCompletions(CompletionInfo[] completions)
void finishInput()
void toggleSoftInput(int showFlags, int hideFlags)
void updateCursor(Rect newCursor)
void updateCursorAnchorInfo(CursorAnchorInfo info)
void updateExtractedText(int token, ExtractedText text)
void updateSelection(int oldSelStart, int oldSelEnd, int newSelStart, int newSelEnd, int candidatesStart, int candidatesEnd)
void viewClicked(boolean focusChanged)
[Expand]
Inherited Methods
From class android.inputmethodservice.AbstractInputMethodService.AbstractInputMethodSessionImpl
From class java.lang.Object
From interface android.view.inputmethod.InputMethodSession

Public Constructors

public InputMethodService.InputMethodSessionImpl ()

Added in API level 3

Public Methods

public void appPrivateCommand (String action, Bundle data)

Added in API level 3

Call InputMethodService.onAppPrivateCommand().

Parameters
action
data

public void displayCompletions (CompletionInfo[] completions)

Added in API level 3

Call InputMethodService.onDisplayCompletions().

Parameters
completions

public void finishInput ()

Added in API level 3

public void toggleSoftInput (int showFlags, int hideFlags)

Added in API level 3

Parameters
showFlags
hideFlags

public void updateCursor (Rect newCursor)

Added in API level 3

Call InputMethodService.onUpdateCursor().

Parameters
newCursor

public void updateCursorAnchorInfo (CursorAnchorInfo info)

Added in API level 21

public void updateExtractedText (int token, ExtractedText text)

Added in API level 3

Call InputMethodService.onUpdateExtractedText().

Parameters
token
text

public void updateSelection (int oldSelStart, int oldSelEnd, int newSelStart, int newSelEnd, int candidatesStart, int candidatesEnd)

Added in API level 3

Call InputMethodService.onUpdateSelection().

Parameters
oldSelStart
oldSelEnd
newSelStart
newSelEnd
candidatesStart
candidatesEnd

public void viewClicked (boolean focusChanged)

Added in API level 14

Parameters
focusChanged