Alexa.Speech Interface
Commands to react to speech events.
Methods
onStarted
onStarted(callback): Speech
Use this function to register a listener for when Alexa speech has started.
Parameters
| Name | Type | Description |
|---|---|---|
callback |
() => void |
Function to call when Alexa speech starts. The callback takes no arguments. |
Returns
onStopped
onStopped(callback): Speech
Use this function to register a listener for when Alexa speech has stopped.
Parameters
| Name | Type | Description |
|---|---|---|
callback |
() => void |
Function to call when Alexa speech stops. The callback takes no arguments. |
Returns
Was this page helpful?
Last updated: Nov 20, 2026