Called when a user-visible PTT error occurs.
Called when PTT recording stops for any reason.
Called whenever a PTT transcript (partial or final) is available.
Called when the wake word is detected. textAfter is any speech that
followed the keyword in the same utterance (may be empty).
Start PTT recording. Pauses ambient listening while recording; ambient resumes automatically when recording ends.
Start always-on wake-word listening. Returns false if the API is unavailable or already in ambient mode.
Stop PTT recording.
Stop wake-word listening.
Called when ambient listening stops permanently (permission denied, no mic).