An InputConnection is used in Android for an input method editor (IME) to communicate text changes to an editor (like EditText).