IEvsGlassesEvents

Glasses events callback interface

For receiving events triggered by the glasses

See also

Functions

Link copied to clipboard
open fun onBatteryChanged(percentage: Int)

Receive the battery percent

Link copied to clipboard

The display brightness change request callback

Link copied to clipboard
open fun onChargerStateChanged(isChargerConnected: Boolean)

Receive the charger plugin event

Link copied to clipboard
open fun onDisplayState(isDisplayOn: Boolean)

The display on\off state event

Link copied to clipboard

Receive the power button event

Link copied to clipboard
open fun onTouch(touch: TouchDirection)

Override this function to be notified about the glasses touch gestures