| 限定符和类型 | 类和说明 |
|---|---|
class |
ConversationResult |
| 限定符和类型 | 方法和说明 |
|---|---|
Class<? extends Result> |
ConversationParam.resultType() |
| 限定符和类型 | 类和说明 |
|---|---|
class |
QWenConversationResult |
| 限定符和类型 | 方法和说明 |
|---|---|
Class<? extends Result> |
QWenConversationParam.resultType() |
| 限定符和类型 | 类和说明 |
|---|---|
class |
RecognitionResult |
| 限定符和类型 | 方法和说明 |
|---|---|
Class<? extends Result> |
RecognitionBaseParam.resultType() |
| 限定符和类型 | 类和说明 |
|---|---|
class |
TranscriptionResult |
| 限定符和类型 | 方法和说明 |
|---|---|
Class<? extends Result> |
TranscriptionQueryParam.resultType() |
Class<? extends Result> |
TranscriptionParam.resultType() |
| 限定符和类型 | 类和说明 |
|---|---|
class |
SpeechSynthesisResult |
| 限定符和类型 | 方法和说明 |
|---|---|
Class<? extends Result> |
SpeechSynthesisParam.resultType() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract Class<? extends Result> |
Param.resultType()
Get the related output class, which should be a subclass of `Result`.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
SubmitResult |
| 限定符和类型 | 方法和说明 |
|---|---|
static Result |
ServiceFacility.call(Protocol protocol,
Map<String,String> extraHeaders,
Param param,
HttpMethod method,
long receiveTimeout)
Call the network to do a single-in, single-out request.
|
static Result |
ServiceFacility.callAndWait(Map<String,String> extraHeaders,
Param param,
HttpMethod method,
long receiveTimeout)
Call the network to do async task submitting and queries.
|
static Result |
ServiceFacility.prepareResult(Protocol protocol,
Param param,
Response res)
Prepare the Result by the response and the input param.
|
static Result |
ServiceFacility.wait(SubmitParam submitParam,
Class<? extends Result> clazz,
long receiveTimeout)
Wait for an async task to finish, check every 5 seconds.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Class<? extends Result> |
SubmitParam.resultType() |
static io.reactivex.Flowable<Result> |
ServiceFacility.streamCall(Map<String,String> extraHeaders,
io.reactivex.Flowable<Param> params,
long receiveTimeout)
Call the network to do a stream-in, stream-out request.
|
static io.reactivex.Flowable<Result> |
ServiceFacility.streamCall(Protocol protocol,
Map<String,String> extraHeaders,
Param param,
long receiveTimeout)
Call the network to do a single-in, stream-out request.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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 Result |
ServiceFacility.wait(SubmitParam submitParam,
Class<? extends Result> clazz,
long receiveTimeout)
Wait for an async task to finish, check every 5 seconds.
|
Copyright © 2023. All rights reserved.