public interface BaseSpeechSynthesizer
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
call(SpeechSynthesisParam param)
Call the server to get the result.
|
void |
call(SpeechSynthesisParam param,
ResultCallback<SpeechSynthesisResult> callback)
Call the server to get the result in the callback function.
|
io.reactivex.Flowable<SpeechSynthesisResult> |
streamCall(SpeechSynthesisParam param)
Call the server to get the result by stream.
|
void call(SpeechSynthesisParam param, ResultCallback<SpeechSynthesisResult> callback)
param - The input param, should be the subclass of `SynthesisParam`.callback - The callback to receive response, should be the subclass of `SynthesisResult`.io.reactivex.Flowable<SpeechSynthesisResult> streamCall(SpeechSynthesisParam param)
param - The input param, should be the subclass of `SynthesisParam`.ByteBuffer call(SpeechSynthesisParam param)
param - The input param, should be the subclass of `SynthesisParam`.Copyright © 2023. All rights reserved.