Search results

StartListeningEventArgs API in React Speech To Text API component

Represents the event arguments when a listening is started in the Speech to text component.

Properties

cancel

boolean

Indicates whether the listening or speech action should be canceled. Setting this to true prevents listening.

event

Event

Specifies the event type associated with the start listening action.

isInteracted

boolean

Indicates whether the listening event was triggered by user interaction (true) or programmatically (false).

listeningState

SpeechToTextState

Represents the current state of the component when listening starts.

name

string

Specifies name of the event.