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.
| InputConnection | InputConnection接口是从 InputMethod返回到正在接收其输入的应用程序的通信信道。 |
| InputMethod | InputMethod接口表示一种输入方法,它可以在处理各种输入事件时生成关键事件和文本,如数字,电子邮件地址,CJK字符,其他语言字符等,并将文本发送回请求文本的应用程序输入。 |
| InputMethod.SessionCallback | |
| InputMethodSession | InputMethodSession接口提供了 InputMethod的每个客户端功能,可以安全地向应用程序公开。 |
| InputMethodSession.EventCallback |
| BaseInputConnection | InputConnection接口的实现者的基类,负责提供与Editable连接的大多数常见行为。 |
| CompletionInfo | 关于编辑者向输入法报告的单个文本完成的信息。 |
| CorrectionInfo | 有关编辑者向输入法报告的单个文本更正的信息。 |
| CursorAnchorInfo | 有关组合字符串中文本插入点和字符的位置信息。 |
| CursorAnchorInfo.Builder | 生成器为 CursorAnchorInfo 。 |
| EditorInfo | EditorInfo描述输入方法与之通信的文本编辑对象的几个属性(通常是EditText),最重要的是它包含的文本内容的类型以及当前的光标位置。 |
| ExtractedText | 有关已被提取以供输入方法使用的文本的信息。 |
| ExtractedTextRequest | 从输入编辑器中提取文本时,应用程序将如何描述输入法。 |
| InputBinding | 有关连接到它的客户端的信息 InputMethod 。 |
| InputConnectionWrapper | 用于代理调用另一个InputConnection的包装类。 |
| InputMethodInfo | 该类用于指定输入方法的元信息。 |
| InputMethodManager | 中央系统API用于总体输入法架构(IMF)架构,用于仲裁应用程序与当前输入法之间的交互。 |
| InputMethodSubtype | 该类用于指定输入法编辑器(IME)中包含的子类型的元信息。 |
| InputMethodSubtype.InputMethodSubtypeBuilder | InputMethodSubtypeBuilder是InputMethodSubtype的构建器类。 |