- About XR
- XR Unity SDK
- XR SDK Release Notes
- Version:1.0.3
- Version:1.0.2
- Version:1.0.1
- Version:1.0.0
- Version:0.9.59
- Version:0.9.58
- Version:0.9.57
- Version:0.9.56
- Version:0.9.55
- Version:0.9.54
- Version:0.9.53
- Version:0.9.52
- Version:0.9.51
- Version:0.9.38
- Version:0.9.37
- Version:0.9.34
- Version:0.9.33
- Version:0.9.32
- Version:0.9.31
- Version:0.9.30
- Version:0.9.24
- Version:0.9.23 Beta
API - XRIMEEventSystem¶
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.