public interface RecognizeDelegate
Modifier and Type | Method and Description |
---|---|
void |
onConnected()
Called when a WebSocket connection was made
|
void |
onDisconnected()
Called when a WebSocket connection was closed
|
void |
onError(Exception e)
Called when there is an error in the Web Socket connection
|
void |
onMessage(SpeechResults speechResults)
Called when a
SpeechResults was received. |
void onMessage(SpeechResults speechResults)
SpeechResults
was received.speechResults
- the speech resultsvoid onConnected()
void onError(Exception e)
e
- the exceptionvoid onDisconnected()
Copyright © 2015–2016. All rights reserved.