Code example for InputConnection

Methods: getTextBeforeCursor

0
    return baseConnection.getTextAfterCursor(n, flags);
  } 
 
  @Override 
  public CharSequence getTextBeforeCursor(int n, int flags) {
    return baseConnection.getTextBeforeCursor(n, flags);
  } 
 
  @Override 
  public boolean performContextMenuAction(int id) {
    return baseConnection.performContextMenuAction(id);
  } 
 
  @Override 
  public boolean performEditorAction(int editorAction) {
    return baseConnection.performEditorAction(editorAction);
  } 
 
  @Override 
  public boolean performPrivateCommand(String action, Bundle data) {