| Package | Description |
|---|---|
| com.alibaba.dashscope | |
| com.alibaba.dashscope.aigc.conversation | |
| com.alibaba.dashscope.audio.tts | |
| com.alibaba.dashscope.protocol |
| Modifier and Type | Method and Description |
|---|---|
void |
BaseConversation.call(ConversationParam param,
ResultCallback<ConversationResult> callback)
Call the server to get the result in the callback function.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Conversation.call(ConversationParam param,
ResultCallback<ConversationResult> callback)
Call the server to get the result in the callback function.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SpeechSynthesizer.call(SpeechSynthesisParam param,
ResultCallback<SpeechSynthesisResult> callback) |
void |
BaseSpeechSynthesizer.call(SpeechSynthesisParam param,
ResultCallback<SpeechSynthesisResult> callback)
Call the server to get the result in the callback function.
|
| Modifier and Type | Method and Description |
|---|---|
void |
WebsocketRpc.call(io.reactivex.Flowable<Request> requests,
ResultCallback<Response> responseCallback,
java.util.function.Function<String,Boolean> completeCallback)
Do call.
|
void |
WebsocketRpc.call(Request request,
ResultCallback<Response> responseCallback,
java.util.function.Function<String,Boolean> completeCallback)
Do call.
|
static void |
ServiceFacility.streamCall(Map<String,String> extraHeaders,
io.reactivex.Flowable<Param> params,
ResultCallback<Result> resultCallback)
Call the network to do a single-in, stream-out request via a callback.
|
static void |
ServiceFacility.streamingInAndDuplexWithCallback(String url,
Map<String,String> headers,
io.reactivex.Flowable<Request> requests,
ResultCallback<Response> callback)
Call rpc with a callback on stream-in mode, only support websocket.
|
static void |
ServiceFacility.streamingOutWithCallback(Protocol protocol,
String url,
Map<String,String> headers,
Request request,
HttpMethod httpMethod,
StreamingMode mode,
ResultCallback<Response> callback)
Call rpc on single-in mode with a callback.
|
| Constructor and Description |
|---|
HttpRpc(String url,
ResultCallback<Response> responseCallback)
Construct the class.
|
Copyright © 2023. All rights reserved.