InputMethodManager for
an overview. In most cases the main classes here are not needed for
most applications, since they are dealt with for you by
TextView. When implementing a custom text editor,
however, you will need to implement the
InputConnection class to allow the current
input method to interact with your view.
| ConnectionlessHandwritingCallback |
Interface to receive the result of starting a connectionless stylus handwriting session using
one of InputMethodManager.startConnectionlessStylusHandwriting(View,CursorAnchorInfo,Executor,ConnectionlessHandwritingCallback), InputMethodManager.startConnectionlessStylusHandwritingForDelegation(View,CursorAnchorInfo,Executor,ConnectionlessHandwritingCallback), or InputMethodManager.startConnectionlessStylusHandwritingForDelegation(View,CursorAnchorInfo,String,Executor,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., while handling various input events, and send the text back to the application that requests text input. |
| InputMethod.SessionCallback | |
| InputMethodSession |
The InputMethodSession interface provides the per-client functionality
of InputMethod that is safe to expose to applications.
|
| InputMethodSession.EventCallback |
CursorAnchorInfo.
HandwritingGesture for deleting an area of text using single rectangle.
DeleteGesture.
HandwritingGesture for deleting a range of text by defining start and end
rectangles.
DeleteRangeGesture.
EditorBoundsInfo.
InlineSuggestionsRequest
InputMethod about a client connecting
to it.
Wrapper class for proxying calls to another InputConnection.
HandwritingGesture for inserting text at the defined insertion point.
InsertGesture.
HandwritingGesture for starting an insert mode which inserts a space in
the editor to let users hand write freely at the designated insertion point.
InsertModeGesture.
HandwritingGesture for deleting or inserting whitespace in text.
JoinOrSplitGesture.
HandwritingGesture that can be
previewed.
HandwritingGesture for removing whitespace from text.
RemoveSpaceGesture.
HandwritingGesture for selecting an area of text using single rectangle.
SelectGesture.
HandwritingGesture for selecting a range of text by defining start and end
rectangles.
SelectRangeGesture.
CursorAnchorInfo for use by InputMethodService.
TextAppearanceInfo.
TextAttribute.
TextBoundsInfo object.
InputConnection.requestTextBoundsInfo(RectF,Executor,Consumer) call.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-02-26 UTC.