onKeyEvent()
Tells the callback function when a KeyEvent is triggered.
void onKeyEvent(KeyEvent event)
Parameters
event
This indicates which key (e.g. the AI button) was pressed.
See also
Enumerations
enum KeyEvent
This indicates the key event sent from VIVE AI Glasses to the app.