API Reference
Cinder.listen
Start browser speech capture when the environment supports it.
Need the shortest path?
Use Quick Start when you want the smallest working route → scan → graph → run flow first.
Something feels off?
Inspect scan output, graph state, active route/context, and dispatch in a practical order.
Need the full surface?
Browse all runtime methods, hooks, extension points, and lifecycle APIs.
listen() starts browser speech capture and may optionally auto-run final transcripts through the runtime.
Example
ts
6 lines
const result = await Cinder.listen({
root: document,
autoRun: true,
speakFeedback: false,
});
console.log(result);Options
You can pass:
rootautoRunspeakFeedbackcontinuousinterimResultslang
Important note
Unsupported browsers should return a clear unsupported result rather than failing silently.
If you want transcript events without auto-executing them, use listen({ autoRun: false }) with Cinder.onTranscript().
Continue reading