Back to API Reference
Class

ManagedInputBackend

sealed

Unity-input polling backend for keyboard editing and single-clause IME composition.

Remarks

The backend does not show software keyboards, present native fields, or consume pushed document windows. A held key repeats on a fixed schedule of the backend's own, ignoring the operating system's typematic settings, which platform transports honour instead. Text is read from Keyboard.onTextInput or Input.inputString, so a platform that fills neither takes editing keys but no characters.
public bool WantsTextContext{ get }

Gets whether pushed document windows are consumed.

public void OpenInput()

Opens polling for one reporter epoch.

public void SetCursorScreenPos()

Updates Unity's IME candidate position.

public void SetInputFieldRect()

Accepts focused-editor geometry without platform presentation.

public void QuiesceInput()

Drains the current frame, resolves composition, and completes the barrier.

public void CloseInput()

Releases a quiesced polling epoch.

public void AbortInput()

Abandons a polling epoch and clears composition state.

public void PushTextContext()

Accepts a document-window update without retaining it.

public void FlushPendingInput()

Reports at most one ordered snapshot of Unity input per rendered frame.

public void Dispose()

Releases polling and composition state.

public static const int FallbackPriority

Priority below built-in native transports.