connect()
Initiates a connection with VIVE AI Glasses.
void connect(ViveGlassesClientCallback callback)
Parameters
callback
A callback that defines methods for handling asynchronous notifications and data transmissions received from the glasses.
Exception
The following exceptions may be thrown: UnregisteredAppException.
See also
Connectivity and authentication
void disconnect ( )
Requests to disconnect from VIVE AI Glasses.
boolean isConnected ()
Checks the current connection status.
Responding from VIVE AI Glasses event
void onConnectionStateChanged (ConnectionState state)
Tells the callback function when the connection state changes.
Error handling and exceptions
This represents an error thrown by the VIVE AI Glasses SDK.