IWithIme

interface

Namespace: Vuplex.WebView

Implemented by: ?

An interface implemented by a webview if it supports Input Method Editor (IME) for inputting Chinese, Japanese, and Korean text. On Windows and macOS, if keyboard support is enabled via WebViewPrefab.KeyboardEnabled, then IME is automatically enabled (implemented with this interface). For an example of using this interface, please see 3D WebView's KeyboardManager.cs script.

Summary

Public methods

CancelImeComposition

void CancelImeComposition()

Cancels the current IME composition.

FinishImeComposition

void FinishImeComposition(string text)

Finishes the current IME composition with the given text.

SetImeComposition

void SetImeComposition(string text)

Updates the current IME composition with the given text, or starts a new composition if one isn't already in progress.

Public events

ImeInputFieldPositionChanged

EventHandler<EventArgs<Vector2Int>> ImeInputFieldPositionChanged

Indicates that the coordinates of the IME text composition within the browser changed.