FileDocCategorySizeDatePackage
IInputContext.javaAPI DocAndroid 5.1 API22035Sat Mar 14 05:48:08 GMT 2015com.android.internal.view

IInputContext

public interface IInputContext implements android.os.IInterface
Interface from an input method to the application, allowing it to perform edits on the current input field and other interactions with the application. {@hide}

Fields Summary
Constructors Summary
Methods Summary
public voidbeginBatchEdit()

public voidclearMetaKeyStates(int states)

public voidcommitCompletion(android.view.inputmethod.CompletionInfo completion)

public voidcommitCorrection(android.view.inputmethod.CorrectionInfo correction)

public voidcommitText(java.lang.CharSequence text, int newCursorPosition)

public voiddeleteSurroundingText(int leftLength, int rightLength)

public voidendBatchEdit()

public voidfinishComposingText()

public voidgetCursorCapsMode(int reqModes, int seq, com.android.internal.view.IInputContextCallback callback)

public voidgetExtractedText(android.view.inputmethod.ExtractedTextRequest request, int flags, int seq, com.android.internal.view.IInputContextCallback callback)

public voidgetSelectedText(int flags, int seq, com.android.internal.view.IInputContextCallback callback)

public voidgetTextAfterCursor(int length, int flags, int seq, com.android.internal.view.IInputContextCallback callback)

public voidgetTextBeforeCursor(int length, int flags, int seq, com.android.internal.view.IInputContextCallback callback)

public voidperformContextMenuAction(int id)

public voidperformEditorAction(int actionCode)

public voidperformPrivateCommand(java.lang.String action, android.os.Bundle data)

public voidreportFullscreenMode(boolean enabled)

public voidrequestUpdateCursorAnchorInfo(int cursorUpdateMode, int seq, com.android.internal.view.IInputContextCallback callback)

public voidsendKeyEvent(android.view.KeyEvent event)

public voidsetComposingRegion(int start, int end)

public voidsetComposingText(java.lang.CharSequence text, int newCursorPosition)

public voidsetSelection(int start, int end)