Expand description
The wire table for backends whose native side reaches Rust through one numeric-kind
trampoline (Android’s JNI nativeOnEvent, ArkUI’s day_arkui_on_event). This enum
defines those kind numbers; the Java and C++ sides carry mirrored constants that parity
tests check against these discriminants (so a collision or drift fails cargo test on the
host instead of silently mis-decoding events on a device). AppKit/UIKit/GTK/Qt emit Event
values directly and never use these numbers; XAML uses per-event callbacks with its own
small local codes.
Payload conventions ride (num: f64, text: String) per kind, documented on each variant.
Enums§
- Bridge
Kind - One numeric event kind.
as i32is the wire value.