ChatComposerVoiceState
Where a ChatComposer's voice input is. The caller runs speech recognition and moves between states.
Inheritors
Types
Link copied to clipboard
Voice input is ready. The composer shows a microphone button while the draft is blank.
Link copied to clipboard
The microphone is live. level is the input loudness from 0 (silence) to 1 (loud), drawn as a ring around the stop button; values outside that range are clamped.
Link copied to clipboard
Recording stopped and the transcript is being produced. The button shows progress.
Link copied to clipboard
Voice input cannot be used, for example because permission was denied. The microphone is disabled.