Grabba Driver for Android
Unified driver for Grabba devices on the Android operating system
KeyboardInterface Interface Reference

Description

Interface class for keyboard wedge virtual keystroke events.

Objects which implement this interface may receive callbacks when these events occur, via delegation from a KeyboardListener object.

Note that this interface need not be directly implemented; it may be simpler to subclass KeyboardListener and thereby receive the events directly.

Thread safety: This interface is intended to be thread-safe; any classes deriving from it should ensure that the relevant methods are callable from any thread.

See also
KeyboardAPI for related API functions, and KeyboardListener for more detailed descriptions of each event.
Inheritance diagram for KeyboardInterface:
KeyboardListener

Public Member Functions

void textEvent (String text)
 Callback which is invoked when additional keyboard output is to be generated. More...
 

Member Function Documentation

◆ textEvent()

void textEvent ( String  text)

Callback which is invoked when additional keyboard output is to be generated.

Note
Implementations of this method are required to be thread-safe; no guarantees are made about which thread(s) they will be called from.
Parameters
textString to convert to virtual keystrokes; may include line-ending delimiters

Implemented in KeyboardListener.