Libraries & API
The SDK has 2 libraries, that together supply all the SDK functionalities:
EvsKit is the main entry point to all capabilities. In addition, it bootstraps the SDK.
The library contains platform based codebase, to supply OS dedicated capabilities, like bluetooth communication and resources handling.
A common code base for iOS and Android, implemented in kotlin native. Contains most of the SDK logic.
The SDK exposes several interfaces to enable developers to control and interact with the glasses.
The following block diagram describes the various SDK packages (and interfaces in accordance):
Evs singleton is the entry point for the whole SDK functionality.
It exposes the
Evs.instance() method, which returns the
IEvsApp interface that gives access to the SDK features, as follows:
|Handles the glasses state
|Battery %, serial number
|Handles the glasses display
|Brightness, turn display off
|Handles the glasses UI screens
|Add screen, remove screen
|handles the glasses sensors
|Handles the sdk api keys
|Set API Key
|Handles the communication to the glasses
|Set glasses Bluetooth device, connect
|Handles the glasses firmware updates
|Start firmware update, new version available
Learn about the API Keys