IEvsGlassesStateService

Interface defines the glasses state service

The service handles the glasses current state

Functions

Link copied to clipboard
abstract fun batteryLevel(): BatteryLevel

Returns the glasses battery level

Link copied to clipboard
abstract fun batteryPercentage(): Int

Returns the current battery percentage

Link copied to clipboard

Returns the ESTIMATED remaining operations time of the glasses, in minutes, before the glasses will turn off due to insufficient battery

Link copied to clipboard
abstract fun frameSize(): FrameSize?

Returns the glasses frame size

Link copied to clipboard
abstract fun fwVersion(): String

Returns the glasses firmware version

Link copied to clipboard
abstract fun fwVersionN(): Int

Returns the glasses firmware version as a number

Link copied to clipboard
abstract fun getGlassesName(): String?

Returns the glasses name

Link copied to clipboard
abstract fun getSerialInfo(serial: String): String

Returns the serial textual representation

Link copied to clipboard
abstract fun info(): String

Returns the glasses string description

Link copied to clipboard
abstract fun isChargerConnected(): Boolean

Returns the charger plugin state

Link copied to clipboard

Register for glasses events callbacks

Link copied to clipboard
abstract fun serial(): String

Returns the glasses serial number

Link copied to clipboard
abstract fun turnOff()

Powers off the glasses

Link copied to clipboard

Unregister from glasses events callbacks