public class ParseApi extends Object
| Constructor | Description |
|---|---|
ParseApi(Configuration configuration) |
Initializes new instance of ParseApi
|
ParseApi(String appSid,
String appKey) |
Initializes new instance of ParseApi
|
| Modifier and Type | Method | Description |
|---|---|---|
BarcodesResult |
barcodes(BarcodesRequest request) |
Extract barcodes from document.
|
com.squareup.okhttp.Call |
barcodesAsync(BarcodesRequest request,
ApiCallback<BarcodesResult> callback) |
Extract barcodes from document.
|
com.squareup.okhttp.Call |
barcodesCall(BarcodesRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for barcodes
|
ApiResponse<BarcodesResult> |
barcodesWithHttpInfo(BarcodesRequest request) |
Extract barcodes from document.
|
ApiClient |
getApiClient() |
Gets ApiClient
|
ImagesResult |
images(ImagesRequest request) |
Extract images from document.
|
com.squareup.okhttp.Call |
imagesAsync(ImagesRequest request,
ApiCallback<ImagesResult> callback) |
Extract images from document.
|
com.squareup.okhttp.Call |
imagesCall(ImagesRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for images
|
ApiResponse<ImagesResult> |
imagesWithHttpInfo(ImagesRequest request) |
Extract images from document.
|
ParseResult |
parse(ParseRequest request) |
Extract document data by a predefined template.
|
com.squareup.okhttp.Call |
parseAsync(ParseRequest request,
ApiCallback<ParseResult> callback) |
Extract document data by a predefined template.
|
com.squareup.okhttp.Call |
parseCall(ParseRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for parse
|
ApiResponse<ParseResult> |
parseWithHttpInfo(ParseRequest request) |
Extract document data by a predefined template.
|
void |
setApiClient(ApiClient apiClient) |
Sets ApiClient
|
TextResult |
text(TextRequest request) |
Extract text from document.
|
com.squareup.okhttp.Call |
textAsync(TextRequest request,
ApiCallback<TextResult> callback) |
Extract text from document.
|
com.squareup.okhttp.Call |
textCall(TextRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for text
|
ApiResponse<TextResult> |
textWithHttpInfo(TextRequest request) |
Extract text from document.
|
public ParseApi(String appSid, String appKey)
appSid - Application identifier (App SID)appKey - Application private key (App Key)public ParseApi(Configuration configuration)
configuration - Configuration The configurationpublic ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - The Api clientpublic com.squareup.okhttp.Call barcodesCall(BarcodesRequest 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 BarcodesResult barcodes(BarcodesRequest request) throws ApiException
request - The request modelApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<BarcodesResult> barcodesWithHttpInfo(BarcodesRequest 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 barcodesAsync(BarcodesRequest request, ApiCallback<BarcodesResult> 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 imagesCall(ImagesRequest 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 ImagesResult images(ImagesRequest request) throws ApiException
request - The request modelApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ImagesResult> imagesWithHttpInfo(ImagesRequest 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 imagesAsync(ImagesRequest request, ApiCallback<ImagesResult> 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 parseCall(ParseRequest 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 ParseResult parse(ParseRequest request) throws ApiException
request - The request modelApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ParseResult> parseWithHttpInfo(ParseRequest 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 parseAsync(ParseRequest request, ApiCallback<ParseResult> 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 textCall(TextRequest 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 TextResult text(TextRequest request) throws ApiException
request - The request modelApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<TextResult> textWithHttpInfo(TextRequest 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 textAsync(TextRequest request, ApiCallback<TextResult> 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.