public final class Tokenization extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Tokenization.Models |
| 构造器和说明 |
|---|
Tokenization() |
Tokenization(String protocol) |
| 限定符和类型 | 方法和说明 |
|---|---|
TokenizationResult |
call(HalfDuplexServiceParam param)
Call the server to get the whole result, only http protocol
|
void |
call(HalfDuplexServiceParam param,
ResultCallback<TokenizationResult> callback)
Call the server to get the result in the callback function.
|
public Tokenization()
public Tokenization(String protocol)
public TokenizationResult call(HalfDuplexServiceParam param) throws ApiException, NoApiKeyException, InputRequiredException
param - The input param of class `HalfDuplexServiceParam`.NoApiKeyException - Can not find api keyInputRequiredException - Missing inputs.ApiExceptionpublic void call(HalfDuplexServiceParam param, ResultCallback<TokenizationResult> callback) throws ApiException, NoApiKeyException, InputRequiredException
param - The input param of class `HalfDuplexServiceParam`.callback - The callback to receive response, the template class is `TokenizationOutput`.NoApiKeyException - Can not find api keyApiException - The request failed, possibly due to a network or data error.InputRequiredException - Missing inputs.Copyright © 2024. All rights reserved.