Back to API Reference
Class
NativeInputReporter
sealed
Implements:ITextInputContext
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 ITextInputContext Context{ get }Gets the epoch-gated document and geometry context.
public void ReportKeyDown(NativeKeyCode key, NativeModifiers modifiers)Reports one platform-independent editing key press.
public void ReportCompositionChanged(CompositionData data)Reports the complete current composition snapshot, whose spans are consumed before return.
public void ReportFault(Exception error)Reports a terminal producer failure for this exact epoch.
public void ReportKeyboardEvent(in KeyboardEvent value)Reports one validated software-keyboard lifecycle snapshot.
public void ReportKeyboardAreaChanged(bool visible, Rect area)Reports a phase-less software-keyboard visibility and area snapshot.
