Package | Description |
---|---|
com.ibm.watson.speech_to_text.v1 |
Speech to Text v1.
|
com.ibm.watson.speech_to_text.v1.websocket |
This package contains interfaces and implementations to work with Websocket in Speech to Text.
|
Modifier and Type | Method and Description |
---|---|
okhttp3.WebSocket |
SpeechToText.recognizeUsingWebSocket(RecognizeWithWebsocketsOptions recognizeOptions,
RecognizeCallback callback)
Sends audio and returns transcription results for recognition requests over a WebSocket
connection.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseRecognizeCallback
An empty implementation of
RecognizeCallback interface. |
Constructor and Description |
---|
SpeechToTextWebSocketListener(RecognizeWithWebsocketsOptions options,
RecognizeCallback callback)
Instantiates a new speech to text web socket listener.
|
Copyright © 2022 IBM Cloud. All rights reserved.