XRSPACE Developer Console

API - XRIMEEventSystem

Contents

Event

  • public static event Action<string> OnApplySuggestion

Description Trigger when invoke ApplySuggestion, for apply suggestion.


  • public static event Action OnBeginIME

Description Trigger when get showWindow form inputservice.


  • public static event Action OnEndIME

Description Trigger when Keyboard hide.


  • public static event Action OnIMEEnter

Description Trigger when invoke TriggerKeyCode keycode equal to XRIMEEventSystem.KeyCodeEnter.


  • public static event Action<int, string> OnReplaceKeyTrigger

Description Trigger when invoke TriggerReplaceKey, for replace the suggestion which user click.


  • public static event Action<StringBuilder, string> OnUpdateSuggestionString

Description Trigger when invoke TriggerKeyCode, for normal button, is uesd to update suggestion.

Method

  • public void ActiveIme(bool isActive)

Description Show/Hide IME Keyboard.


  • public static void ApplySuggestion(string suggestion)

Description Will send suggestion to native.


  • public void TriggerKeyCode(string keyCode)

Description Will send keyCode to native.


  • public static void TriggerReplaceKey(int length, string keyCode)

Description Will keyCode to native for replace from length.