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