IInputConnectionExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static class IInputConnectionExtensions
type IInputConnectionExtensions = class
- Inheritance
-
IInputConnectionExtensions
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Methods
| Name | Description |
|---|---|
| CommitText(IInputConnection, String, Int32, TextAttribute) |
The variant of InputConnection.commitText(CharSequence,int). |
| CommitText(IInputConnection, String, Int32) |
Commit text to the text box and set the new cursor position. |
| GetSelectedText(IInputConnection, GetTextFlags) |
Gets the selected text, if any. |
| GetTextAfterCursor(IInputConnection, Int32, GetTextFlags) |
Get n characters of text after the current cursor position. |
| GetTextBeforeCursor(IInputConnection, Int32, GetTextFlags) |
Get n characters of text before the current cursor position. |
| ReplaceText(IInputConnection, Int32, Int32, String, Int32, TextAttribute) |
Replace the specific range in the editor with suggested text. |
| SetComposingText(IInputConnection, String, Int32, TextAttribute) |
The variant of setComposingText(CharSequence,int). |
| SetComposingText(IInputConnection, String, Int32) |
Replace the currently composing text with the given text, and set the new cursor position. |