public class InfoApi extends Object
| Constructor | Description |
|---|---|
InfoApi(Configuration configuration) |
Initializes new instance of InfoApi
|
InfoApi(String appSid,
String appKey) |
Initializes new instance of InfoApi
|
| Modifier and Type | Method | Description |
|---|---|---|
ApiClient |
getApiClient() |
Gets ApiClient
|
InfoResult |
getInfo(GetInfoRequest request) |
Retrieve information about document pages
|
com.squareup.okhttp.Call |
getInfoAsync(GetInfoRequest request,
ApiCallback<InfoResult> callback) |
Retrieve information about document pages (asynchronously)
|
com.squareup.okhttp.Call |
getInfoCall(GetInfoRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getInfo
|
ApiResponse<InfoResult> |
getInfoWithHttpInfo(GetInfoRequest request) |
Retrieve information about document pages
|
FormatsResult |
getSupportedFileFormats() |
List supported file formats
|
com.squareup.okhttp.Call |
getSupportedFileFormatsAsync(ApiCallback<FormatsResult> callback) |
List supported file formats (asynchronously)
|
com.squareup.okhttp.Call |
getSupportedFileFormatsCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getSupportedFileFormats
|
ApiResponse<FormatsResult> |
getSupportedFileFormatsWithHttpInfo() |
List supported file formats
|
void |
setApiClient(ApiClient apiClient) |
Sets ApiClient
|
public InfoApi(String appSid, String appKey)
appSid - Application identifier (App SID)appKey - Application private key (App Key)public InfoApi(Configuration configuration)
configuration - Configuration The configurationpublic ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - The Api clientpublic com.squareup.okhttp.Call getInfoCall(GetInfoRequest 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 InfoResult getInfo(GetInfoRequest request) throws ApiException
request - The request modelApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<InfoResult> getInfoWithHttpInfo(GetInfoRequest 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 getInfoAsync(GetInfoRequest request, ApiCallback<InfoResult> 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 getSupportedFileFormatsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic FormatsResult getSupportedFileFormats() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FormatsResult> getSupportedFileFormatsWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getSupportedFileFormatsAsync(ApiCallback<FormatsResult> callback) throws ApiException
callback - 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.