ViveGlassDelegate
This protocol defines the methods for handling asynchronous notifications and data transmissions received from VIVE AI Glasses.
Overview
This delegate protocol is designed for applications to process asynchronous updates from VIVE AI Glasses. These updates include information such as the connection status, speech-to-text results, captured image data, and others.
Topics
Instance Methods
func glasses(didUpdateConnectionState: ConnectionState)
Tells the delegate when the connection state changes.
func glasses(didReceiveTranscribedEvent: TranscribedEvent, text: String)
Tells the delegate when a TranscribedEvent is triggered.
func glasses(didReceiveSynthesisEvent: SynthesisEvent)
Tells the delegate when a TTSEvent is triggered.
func glasses(didReceiveCaptureEvent: CaptureEvent, data:Data)
Tells the delegate that the raw image data captured from the VIVE AI Glasses camera has been received.
func glasses(didReceiveKeyEvent: KeyEvent)
Tells the delegate when a KeyEvent is triggered.