public class InfoApi
extends java.lang.Object
Constructor | Description |
---|---|
InfoApi(Configuration configuration) |
Initializes new instance of InfoApi
|
InfoApi(java.lang.String appSid,
java.lang.String appKey) |
Initializes new instance of InfoApi
|
Modifier and Type | Method | Description |
---|---|---|
ApiClient |
getApiClient() |
Gets ApiClient
|
InfoResult |
getInfo(GetInfoRequest request) |
Retrieves basic document info - path, extension, formats, size etc
|
com.squareup.okhttp.Call |
getInfoAsync(GetInfoRequest request,
ApiCallback<InfoResult> callback) |
Retrieves basic document info - path, extension, formats, size etc (asynchronously)
|
com.squareup.okhttp.Call |
getInfoCall(GetInfoRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getInfo
|
ApiResponse<InfoResult> |
getInfoWithHttpInfo(GetInfoRequest request) |
Retrieves basic document info - path, extension, formats, size etc
|
BarcodesResult |
getSupportedBarcodes() |
Retrieves supported Barcodes list
|
com.squareup.okhttp.Call |
getSupportedBarcodesAsync(ApiCallback<BarcodesResult> callback) |
Retrieves supported Barcodes list (asynchronously)
|
com.squareup.okhttp.Call |
getSupportedBarcodesCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getSupportedBarcodes
|
ApiResponse<BarcodesResult> |
getSupportedBarcodesWithHttpInfo() |
Retrieves supported Barcodes list
|
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
|
QRCodesResult |
getSupportedQRCodes() |
Retrieves supported QR-codes list
|
com.squareup.okhttp.Call |
getSupportedQRCodesAsync(ApiCallback<QRCodesResult> callback) |
Retrieves supported QR-codes list (asynchronously)
|
com.squareup.okhttp.Call |
getSupportedQRCodesCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getSupportedQRCodes
|
ApiResponse<QRCodesResult> |
getSupportedQRCodesWithHttpInfo() |
Retrieves supported QR-codes list
|
void |
setApiClient(ApiClient apiClient) |
Sets ApiClient
|
public InfoApi(java.lang.String appSid, java.lang.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 getSupportedBarcodesCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic BarcodesResult getSupportedBarcodes() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<BarcodesResult> getSupportedBarcodesWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getSupportedBarcodesAsync(ApiCallback<BarcodesResult> 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 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 objectpublic com.squareup.okhttp.Call getSupportedQRCodesCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic QRCodesResult getSupportedQRCodes() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<QRCodesResult> getSupportedQRCodesWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getSupportedQRCodesAsync(ApiCallback<QRCodesResult> 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 © 2021. All rights reserved.