FileDocCategorySizeDatePackage
InputConnection.javaAPI DocAndroid 5.1 API1889Sat Mar 14 14:09:42 GMT 2015android.view.inputmethod

InputConnection

public interface InputConnection

Fields Summary
public static final int
CURSOR_UPDATE_IMMEDIATE
public static final int
CURSOR_UPDATE_MONITOR
public static final int
GET_EXTRACTED_TEXT_MONITOR
public static final int
GET_TEXT_WITH_STYLES
Constructors Summary
Methods Summary
public abstract booleanbeginBatchEdit()

public abstract booleanclearMetaKeyStates(int states)

public abstract booleancommitCompletion(android.view.inputmethod.CompletionInfo text)

public abstract booleancommitCorrection(android.view.inputmethod.CorrectionInfo correctionInfo)

public abstract booleancommitText(java.lang.CharSequence text, int newCursorPosition)

public abstract booleandeleteSurroundingText(int beforeLength, int afterLength)

public abstract booleanendBatchEdit()

public abstract booleanfinishComposingText()

public abstract intgetCursorCapsMode(int reqModes)

public abstract android.view.inputmethod.ExtractedTextgetExtractedText(android.view.inputmethod.ExtractedTextRequest request, int flags)

public abstract java.lang.CharSequencegetSelectedText(int flags)

public abstract java.lang.CharSequencegetTextAfterCursor(int n, int flags)

public abstract java.lang.CharSequencegetTextBeforeCursor(int n, int flags)

public abstract booleanperformContextMenuAction(int id)

public abstract booleanperformEditorAction(int editorAction)

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

public abstract booleanreportFullscreenMode(boolean enabled)

public abstract booleanrequestCursorUpdates(int cursorUpdateMode)

public abstract booleansendKeyEvent(android.view.KeyEvent event)

public abstract booleansetComposingRegion(int start, int end)

public abstract booleansetComposingText(java.lang.CharSequence text, int newCursorPosition)

public abstract booleansetSelection(int start, int end)