The input method client API provides interfaces and classes that enable text editing components to communicate with input methods and implement a well-integrated text input user interface
Gets the location of a specified offset in the current composed text, or of the selection in committed text. This information is, for example, used to position the candidate window near the composed text, or a composition window near the location where committed text will be inserted.