android.view.inputmethod


Interfaces

ConnectionlessHandwritingCallback

Interface to receive the result of starting a connectionless stylus handwriting session using one of InputMethodManager#startConnectionlessStylusHandwriting(View, CursorAnchorInfo,, android.view.inputmethod.InputMethodManager#startConnectionlessStylusHandwritingForDelegation(android.view.View,android.view.inputmethod.CursorAnchorInfo,java.util.concurrent.Executor,android.view.inputmethod.ConnectionlessHandwritingCallback), or android.view.inputmethod.InputMethodManager#startConnectionlessStylusHandwritingForDelegation(android.view.View,android.view.inputmethod.CursorAnchorInfo,java.lang.String,java.util.concurrent.Executor,android.view.inputmethod.ConnectionlessHandwritingCallback).

InputConnection

The InputConnection interface is the communication channel from an InputMethod back to the application that is receiving its input.

InputMethod

The InputMethod interface represents an input method which can generate key events and text, such as digital, email addresses, CJK characters, other language characters, and etc.

InputMethodSession

The InputMethodSession interface provides the per-client functionality of InputMethod that is safe to expose to applications.

Classes

BaseInputConnection

Base class for implementors of the InputConnection interface, taking care of most of the common behavior for providing a connection to an Editable.

CompletionInfo

Information about a single text completion that an editor has reported to an input method.

CorrectionInfo

Information about a single text correction that an editor has reported to an input method.

CursorAnchorInfo

Positional information about the text insertion point and characters in the composition string.

DeleteGesture

A sub-class of HandwritingGesture for deleting an area of text using single rectangle.

DeleteRangeGesture

A subclass of HandwritingGesture for deleting a range of text by defining start and end rectangles.

EditorBoundsInfo

Container of rectangular position related info for the Editor.

EditorInfo

An EditorInfo describes several attributes of a text editing object that an input method is communicating with (typically an EditText), most importantly the type of text content it contains and the current cursor position.

ExtractedText

Information about text that has been extracted for use by an input method.

ExtractedTextRequest

Description of what an input method would like from an application when extract text from its input editor.

HandwritingGesture

Base class for stylus handwriting gestures.

InlineSuggestion

This class represents an inline suggestion which is made by one app and can be embedded into the UI of another.

InlineSuggestionInfo

This class represents the description of an inline suggestion.

InlineSuggestionsRequest

This class represents an inline suggestion request made by one app to get suggestions from the other source.

InlineSuggestionsResponse

This class represents an inline suggestion response.

InputBinding

Information given to an InputMethod about a client connecting to it.

InputConnectionWrapper

Wrapper class for proxying calls to another InputConnection.

InputContentInfo

A container object with which input methods can send content files to the target application.

InputMethodInfo

This class is used to specify meta information of an input method.

InputMethodManager

Central system API to the overall input method framework (IMF) architecture, which arbitrates interaction between applications and the current input method.

InputMethodSubtype

This class is used to specify meta information of a subtype contained in an input method editor (IME).

InsertGesture

A sub-class of HandwritingGesture for inserting text at the defined insertion point.

InsertModeGesture

A sub-class of HandwritingGesture for starting an insert mode which inserts a space in the editor to let users hand write freely at the designated insertion point.

JoinOrSplitGesture

A subclass of HandwritingGesture for deleting or inserting whitespace in text.

PreviewableHandwritingGesture

A HandwritingGesture that can be previewed.

RemoveSpaceGesture

A subclass of HandwritingGesture for removing whitespace from text.

SelectGesture

A sub-class of HandwritingGesture for selecting an area of text using single rectangle.

SelectRangeGesture

A subclass of HandwritingGesture for selecting a range of text by defining start and end rectangles.

SurroundingText

Information about the surrounding text around the cursor for use by an input method.

TextAppearanceInfo

Information about text appearance in an editor, passed through CursorAnchorInfo for use by InputMethodService.

TextAttribute

The data class that IME can take extra information to applications when setting the text.

TextBoundsInfo

The text bounds information of a slice of text in the editor.

TextBoundsInfoResult

The object that holds the result of the InputConnection#requestTextBoundsInfo(RectF, Executor, Consumer) call.

TextSnapshot

An immutable data snapshot of text editing state.