OptionalcandidatesWhen multiple sequences share the same first key (non-exclusive
mode), stores all eligible BaseSequenceBinding candidates so
that subsequent keys can disambiguate. Set to undefined once
the pending sequence resolves to a single binding, or in exclusive
mode where only the first candidate is kept.
Callback to invoke when the full sequence is matched.
Index of the next key to match within sequences.
Starts at 1 after the first key is consumed.
OptionaloptionsOptions from the original SequenceBinding.
The full key sequence to match (copied from SequenceBinding.keys).
Timeout duration in milliseconds.
The timeout timer handle; cleared on match, mismatch, or cancellation.
OptionalwhenOptional condition callback (copied from SequenceBinding at start).
Checked at each key press; if it returns false, the sequence is cancelled.
Internal representation of a sequence that is currently being matched.
Created when the first key of a registered
SequenceBindingis pressed and stored on the layer'sScreenKeyboardLayer.pendingSequence. Tracked by atimerthat cancels the pending state if the next key does not arrive withintimeoutmilliseconds.