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 |
getDocumentInfo(GetDocumentInfoRequest request) |
Gets document information
|
com.squareup.okhttp.Call |
getDocumentInfoAsync(GetDocumentInfoRequest request,
ApiCallback<InfoResult> callback) |
Gets document information (asynchronously)
|
com.squareup.okhttp.Call |
getDocumentInfoCall(GetDocumentInfoRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getDocumentInfo
|
ApiResponse<InfoResult> |
getDocumentInfoWithHttpInfo(GetDocumentInfoRequest request) |
Gets document information
|
FormatsResult |
getSupportedFileFormats() |
Retrieves supported file formats list
|
com.squareup.okhttp.Call |
getSupportedFileFormatsAsync(ApiCallback<FormatsResult> callback) |
Retrieves supported file formats list (asynchronously)
|
com.squareup.okhttp.Call |
getSupportedFileFormatsCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getSupportedFileFormats
|
ApiResponse<FormatsResult> |
getSupportedFileFormatsWithHttpInfo() |
Retrieves supported file formats list
|
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 getDocumentInfoCall(GetDocumentInfoRequest 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 getDocumentInfo(GetDocumentInfoRequest 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> getDocumentInfoWithHttpInfo(GetDocumentInfoRequest 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 getDocumentInfoAsync(GetDocumentInfoRequest 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.