Back to API Reference
Class

NativeInputReporter

sealed

Session-scoped sink for ordered input produced by one native backend generation.

Remarks

Editing reports and context access are accepted on the creating thread until the quiescence barrier completes or the epoch is closed. A terminal fault remains reportable while the epoch is quiesced. Keyboard lifecycle reports remain valid until the owning backend generation is disposed.
public int SessionId{ get }

Gets the opaque positive identifier of the logical input session shared by its replacement epochs.

public ITextInputContext Context{ get }

Gets the epoch-gated document and geometry context.

public void ReportKeyDown()

Reports one platform-independent editing key press.

public void ReportTextInput()

Reports committed text after platform layout and IME processing.

public void ReportTextReplacement()

Reports replacement text for an exact UTF-16 range in the committed document.

public void ReportDeleteBackward()

Reports one soft-input backward-delete command.

public void ReportEditorAction()

Reports one supported editor-action identifier.

public void ReportCompositionChanged()

Reports the complete current composition snapshot, whose spans are consumed before return.

public void ReportCompositionEnded()

Reports that the current composition has ended after any committed text.

public void ReportSelectionChanged()

Reports UTF-16 selection endpoints in the authoritative committed document.

public void ReportFault(Exception error)

Reports a terminal producer failure for this exact epoch.

public void ReportKeyboardEvent()

Reports one validated software-keyboard lifecycle snapshot.

public void ReportKeyboardAreaChanged()

Reports a phase-less software-keyboard visibility and area snapshot.