public class TextToSpeechWebSocketListener
extends okhttp3.WebSocketListener
| Constructor and Description |
|---|
TextToSpeechWebSocketListener(SynthesizeOptions options,
SynthesizeCallback callback) |
| Modifier and Type | Method and Description |
|---|---|
void |
onClosing(okhttp3.WebSocket webSocket,
int code,
java.lang.String reason) |
void |
onFailure(okhttp3.WebSocket webSocket,
java.lang.Throwable t,
okhttp3.Response response) |
void |
onMessage(okhttp3.WebSocket webSocket,
okio.ByteString bytes) |
void |
onMessage(okhttp3.WebSocket webSocket,
java.lang.String message) |
void |
onOpen(okhttp3.WebSocket webSocket,
okhttp3.Response response) |
public TextToSpeechWebSocketListener(SynthesizeOptions options, SynthesizeCallback callback)
public void onClosing(okhttp3.WebSocket webSocket,
int code,
java.lang.String reason)
onClosing in class okhttp3.WebSocketListenerpublic void onFailure(okhttp3.WebSocket webSocket,
java.lang.Throwable t,
okhttp3.Response response)
onFailure in class okhttp3.WebSocketListenerpublic void onMessage(okhttp3.WebSocket webSocket,
java.lang.String message)
onMessage in class okhttp3.WebSocketListenerpublic void onMessage(okhttp3.WebSocket webSocket,
okio.ByteString bytes)
onMessage in class okhttp3.WebSocketListenerpublic void onOpen(okhttp3.WebSocket webSocket,
okhttp3.Response response)
onOpen in class okhttp3.WebSocketListener