glasses(didReceiveTranscribedEvent:text:)
Tells the delegate when a TranscribedEvent is triggered.
func glasses(
didReceiveTranscribedEvent event: TranscribedEvent,
text: String?)
Parameters
event
This indicates the current status of the transcription process.
text
This contains the string of transcribed text recognized from the captured audio.
See also
Speech to text (STT)
func startTranscription (bContinuous: Bool) async throws -> Int
Converts spoken audio input into text.
func stopTranscription () async -> Bool
Ends the active speech-to-text session.
Enumerations
enum TranscribedEvent
This indicates the status updates for the speech-to-text process.