startTranscription()
Converts spoken audio input into text.
int startTranscription(boolean bContinuous)
Parameters
bContinuous
This determines whether the microphone remains active to capture additional audio input or stops after the initial input.
Return value
0 if function calling is successful; otherwise, -1 .
Exception
The following exceptions may be thrown:: UnregisteredAppException, GlassesPermissionDeniedException.
See also
Speech to Text (STT)
void stopTranscription ()
Ends the active speech-to-text session.
Responding from VIVE AI Glasses event
void onSpeechTranscribed (TranscribedEvent event, String text)
Tells the callback function when a TranscribedEvent is triggered.
Error handling and exceptions
This represents an error thrown by the VIVE AI Glasses SDK.