interface TypingUpdatesBuffer

Designed to buffer typing inputs.

Its implementation should receive keystroke events by calling TypingUpdatesBuffer.onKeystroke which it will internally buffer and send start and stop typing API calls accordingly. This cuts down on unnecessary API calls.

For the default implementation see DefaultTypingUpdatesBuffer.


Link copied to clipboard
abstract fun clear()

Should send a stop typing event manually.

Link copied to clipboard
abstract fun onKeystroke()

Should be called on every input change.


Link copied to clipboard