public class AsyncApi extends Object
| Constructor | Description |
|---|---|
AsyncApi(Configuration configuration) |
Initializes new instance of AsyncApi
|
AsyncApi(String appSid,
String appKey) |
Initializes new instance of AsyncApi
|
| Modifier and Type | Method | Description |
|---|---|---|
ApiClient |
getApiClient() |
Gets ApiClient
|
File |
getOperationResult(GetOperationResultRequest request) |
Get async operation result
|
com.squareup.okhttp.Call |
getOperationResultAsync(GetOperationResultRequest request,
ApiCallback<File> callback) |
Get async operation result (asynchronously)
|
com.squareup.okhttp.Call |
getOperationResultCall(GetOperationResultRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getOperationResult
|
ApiResponse<File> |
getOperationResultWithHttpInfo(GetOperationResultRequest request) |
Get async operation result
|
OperationResult |
getOperationStatus(GetOperationStatusRequest request) |
Get async operation status
|
com.squareup.okhttp.Call |
getOperationStatusAsync(GetOperationStatusRequest request,
ApiCallback<OperationResult> callback) |
Get async operation status (asynchronously)
|
com.squareup.okhttp.Call |
getOperationStatusCall(GetOperationStatusRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getOperationStatus
|
ApiResponse<OperationResult> |
getOperationStatusWithHttpInfo(GetOperationStatusRequest request) |
Get async operation status
|
void |
setApiClient(ApiClient apiClient) |
Sets ApiClient
|
String |
startConvert(StartConvertRequest request) |
Starts async conversion specified input document, from request body, to format specified
|
String |
startConvertAndSave(StartConvertAndSaveRequest request) |
Starts async conversion specified input document to format specified in the convertSettings with specified options
|
com.squareup.okhttp.Call |
startConvertAndSaveAsync(StartConvertAndSaveRequest request,
ApiCallback<String> callback) |
Starts async conversion specified input document to format specified in the convertSettings with specified options (asynchronously)
|
com.squareup.okhttp.Call |
startConvertAndSaveCall(StartConvertAndSaveRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for startConvertAndSave
|
ApiResponse<String> |
startConvertAndSaveWithHttpInfo(StartConvertAndSaveRequest request) |
Starts async conversion specified input document to format specified in the convertSettings with specified options
|
com.squareup.okhttp.Call |
startConvertAsync(StartConvertRequest request,
ApiCallback<String> callback) |
Starts async conversion specified input document, from request body, to format specified (asynchronously)
|
com.squareup.okhttp.Call |
startConvertCall(StartConvertRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for startConvert
|
ApiResponse<String> |
startConvertWithHttpInfo(StartConvertRequest request) |
Starts async conversion specified input document, from request body, to format specified
|
public AsyncApi(String appSid, String appKey)
appSid - Application identifier (App SID)appKey - Application private key (App Key)public AsyncApi(Configuration configuration)
configuration - Configuration The configurationpublic ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - The Api clientpublic com.squareup.okhttp.Call getOperationResultCall(GetOperationResultRequest request, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
request - The request modelprogressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic File getOperationResult(GetOperationResultRequest request) throws ApiException
request - The request modelApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<File> getOperationResultWithHttpInfo(GetOperationResultRequest request) throws ApiException
request - The request modelApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getOperationResultAsync(GetOperationResultRequest request, ApiCallback<File> callback) throws ApiException
request - The request modelcallback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getOperationStatusCall(GetOperationStatusRequest request, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
request - The request modelprogressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic OperationResult getOperationStatus(GetOperationStatusRequest request) throws ApiException
request - The request modelApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<OperationResult> getOperationStatusWithHttpInfo(GetOperationStatusRequest request) throws ApiException
request - The request modelApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getOperationStatusAsync(GetOperationStatusRequest request, ApiCallback<OperationResult> callback) throws ApiException
request - The request modelcallback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call startConvertCall(StartConvertRequest request, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
request - The request modelprogressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String startConvert(StartConvertRequest request) throws ApiException
request - The request modelApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> startConvertWithHttpInfo(StartConvertRequest request) throws ApiException
request - The request modelApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call startConvertAsync(StartConvertRequest request, ApiCallback<String> callback) throws ApiException
request - The request modelcallback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call startConvertAndSaveCall(StartConvertAndSaveRequest request, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
request - The request modelprogressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String startConvertAndSave(StartConvertAndSaveRequest request) throws ApiException
request - The request modelApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> startConvertAndSaveWithHttpInfo(StartConvertAndSaveRequest request) throws ApiException
request - The request modelApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call startConvertAndSaveAsync(StartConvertAndSaveRequest request, ApiCallback<String> callback) throws ApiException
request - The request modelcallback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2025. All rights reserved.