Type Alias: DictationEngine
DictationEngine =
object
A speech-to-text engine (kind: dictation, client API 14), registered with
ctx.slots.register({ slot: 'dictation.engine', key, dictation: engine }, SettingsPanel).
The component is the engine's settings panel, shown under the engine in
Settings → Interface → Voice dictation, where the user also chooses which
engine dictates (Automatic by default). No settings.voice graft needed.
The product keeps the language choice, the microphone, the session identity
and the draft: an engine never sees the composer. Registering needs the
permission dictation:engine; the manifest's dictation.engines says where
the voice goes (egress), and id must be one of its engine ids.
Properties
id
readonlyid:string
interim
readonlyinterim:DictationInterim
label
readonlylabel:string
languages
readonlylanguages:DictationLanguages
Methods
availability()
availability():
Promise<DictationAvailability>
Returns
Promise<DictationAvailability>
start()
start(
options):Promise<DictationSession>
Parameters
options
Returns
Promise<DictationSession>