Android.InputMethodServices.InputMethodService.SendKeyChar Method
Send the given UTF-16 character to the current input connection.

Syntax

[Android.Runtime.Register("sendKeyChar", "(C)V", "GetSendKeyChar_CHandler")]
public virtual void SendKeyChar (char charCode)

Parameters

charCode
The UTF-16 character code to send.

Remarks

Send the given UTF-16 character to the current input connection. Most characters will be delivered simply by calling Android.Views.InputMethods.InputConnection.commitText(java.lang.CharSequence, int) with the character; some, however, may be handled different. In particular, the enter character ('\n') will either be delivered as an action code or a raw key event, as appropriate. Consider this as a convenience method for IMEs that do not have a full implementation of actions; a fully complying IME will decide of the right action for each event and will likely never call this method except maybe to handle events coming from an actual hardware keyboard.

[Android Documentation]

Requirements

Namespace: Android.InputMethodServices
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3