Class Understanding
java.lang.Object
com.alibaba.dashscope.legacy_2x.nlp.understanding.Understanding
Deprecated.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Understanding(String protocol) Deprecated.Understanding(String protocol, String baseUrl) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptioncall(UnderstandingParam param) Deprecated.Call the server to get the whole result, only http protocolvoidcall(UnderstandingParam param, ResultCallback<UnderstandingResult> callback) Deprecated.Call the server to get the result in the callback function.
-
Constructor Details
-
Understanding
public Understanding()Deprecated. -
Understanding
Deprecated. -
Understanding
Deprecated.
-
-
Method Details
-
call
public UnderstandingResult call(UnderstandingParam param) throws ApiException, NoApiKeyException, InputRequiredException Deprecated.Call the server to get the whole result, only http protocol- Parameters:
param- The input param of class `UnderstandingParam`.- Returns:
- The output structure of `UnderstandingResult`.
- Throws:
NoApiKeyException- Can not find api keyInputRequiredException- Missing inputs.ApiException
-
call
public void call(UnderstandingParam param, ResultCallback<UnderstandingResult> callback) throws ApiException, NoApiKeyException, InputRequiredException Deprecated.Call the server to get the result in the callback function.- Parameters:
param- The input param of class `UnderstandingParam`.callback- The callback to receive response, the template class is `UnderstandingResult`.- Throws:
NoApiKeyException- Can not find api keyApiException- The request failed, possibly due to a network or data error.InputRequiredException- Missing inputs.
-