Interface for InputDevice that can receive text input events.
public interface ITextInputReceiver
Called when an IME composition is in-progress or finished.
void OnIMECompositionChanged(IMECompositionString compositionString)
The current composition.
The method will be repeatedly called with the current string while composition is in progress. Once composition finishes, the method will be called one more time with a blank composition string.
A single, fully-formed Unicode character has been typed on the device.
void OnTextInput(char character)
Character that was typed. Note that in case the character is part of a surrogate pair, this method is called first with the high surrogate and then with the low surrogate character.