context.speech
ContextAPI 2Speaks with a local English voice; speech stops when this mount ends.
| Signature | context.speech(onChange?: (state: SpeechState) => void): Speech |
|---|---|
| Take it from | const { speech } = useToolbar(); |
Parameters
| Parameter | Type | Description |
|---|---|---|
onChange | (state: SpeechState) => void | Optional. |
Return Value
| Member | Type | Description |
|---|---|---|
speak(text, options?) | boolean | |
stop() | void |
Availability
| Applicable versions | API 2 and higher |
|---|---|
| Bundleware | 0.3.0, build 2026.10.29 |