Interface TypingUpdatesBuffer
-
- All Implemented Interfaces:
public interface TypingUpdatesBufferDesigned 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.
-
-
Method Summary
Modifier and Type Method Description abstract UnitonKeystroke(String inputText)Should be called on every input change. abstract Unitclear()Should send a stop typing event manually. -
-
Method Detail
-
onKeystroke
abstract Unit onKeystroke(String inputText)
Should be called on every input change.
- Parameters:
inputText- the current input text.
-
-
-
-