SpeechToTextButtonEventBuilder
Methods
Start(System.String)
Fires when the speech recognition service has begun listening to incoming audio.
For more information see Start event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the start event.
RETURNS
Returns the current instance of SpeechToTextButtonEventBuilder .
Start(System.Func)
Fires when the speech recognition service has begun listening to incoming audio.
For more information see Start event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of SpeechToTextButtonEventBuilder .
End(System.String)
Fires when the speech recognition service has disconnected.
For more information see End event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the end event.
RETURNS
Returns the current instance of SpeechToTextButtonEventBuilder .
End(System.Func)
Fires when the speech recognition service has disconnected.
For more information see End event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of SpeechToTextButtonEventBuilder .
Result(System.String)
Fires when the speech recognition service returns a result - a word or phrase has been positively recognized.
For more information see Result event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the result event.
RETURNS
Returns the current instance of SpeechToTextButtonEventBuilder .
Result(System.Func)
Fires when the speech recognition service returns a result - a word or phrase has been positively recognized.
For more information see Result event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of SpeechToTextButtonEventBuilder .
Error(System.String)
Fires when a speech recognition error occurs.
For more information see Error event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the error event.
RETURNS
Returns the current instance of SpeechToTextButtonEventBuilder .
Error(System.Func)
Fires when a speech recognition error occurs.
For more information see Error event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of SpeechToTextButtonEventBuilder .