pushHostContextEvent method
Push a context event the host derived itself.
This is how keyboard evidence reaches the engine. Native taps are
keystroke-ambiguous on Android (the input collector emits every keystroke
as a tap), so the translator drops them and text-entry classification
has to come from the layer that can actually see it — a TextField
listener, an IME, or a keyboard extension. Send
ContextEventInput.textChange for every insertion and every deletion:
err_rate is N_corr / N_key, so corrections without keystrokes leave
the denominator at zero.
Implementation
void pushHostContextEvent(ContextEventInput event) =>
_pushContextEvent(event);