public class WatermarkApi extends Object
Constructor | Description |
---|---|
WatermarkApi(Configuration configuration) |
Initializes new instance of WatermarkApi
|
WatermarkApi(String appSid,
String appKey) |
Initializes new instance of WatermarkApi
|
Modifier and Type | Method | Description |
---|---|---|
WatermarkResult |
add(AddRequest request) |
Add watermarks to a document of any supported type.
|
com.squareup.okhttp.Call |
addAsync(AddRequest request,
ApiCallback<WatermarkResult> callback) |
Add watermarks to a document of any supported type.
|
com.squareup.okhttp.Call |
addCall(AddRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for add
|
ApiResponse<WatermarkResult> |
addWithHttpInfo(AddRequest request) |
Add watermarks to a document of any supported type.
|
ApiClient |
getApiClient() |
Gets ApiClient
|
RemoveResult |
remove(RemoveRequest request) |
Find and remove watermarks using search criteria.
|
com.squareup.okhttp.Call |
removeAsync(RemoveRequest request,
ApiCallback<RemoveResult> callback) |
Find and remove watermarks using search criteria.
|
com.squareup.okhttp.Call |
removeCall(RemoveRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for remove
|
ApiResponse<RemoveResult> |
removeWithHttpInfo(RemoveRequest request) |
Find and remove watermarks using search criteria.
|
ReplaceResult |
replace(ReplaceRequest request) |
Replace watermarks.
|
com.squareup.okhttp.Call |
replaceAsync(ReplaceRequest request,
ApiCallback<ReplaceResult> callback) |
Replace watermarks.
|
com.squareup.okhttp.Call |
replaceCall(ReplaceRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for replace
|
ApiResponse<ReplaceResult> |
replaceWithHttpInfo(ReplaceRequest request) |
Replace watermarks.
|
SearchResult |
search(SearchRequest request) |
Find watermarks using search criteria.
|
com.squareup.okhttp.Call |
searchAsync(SearchRequest request,
ApiCallback<SearchResult> callback) |
Find watermarks using search criteria.
|
com.squareup.okhttp.Call |
searchCall(SearchRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for search
|
ApiResponse<SearchResult> |
searchWithHttpInfo(SearchRequest request) |
Find watermarks using search criteria.
|
void |
setApiClient(ApiClient apiClient) |
Sets ApiClient
|
public WatermarkApi(String appSid, String appKey)
appSid
- Application identifier (App SID)appKey
- Application private key (App Key)public WatermarkApi(Configuration configuration)
configuration
- Configuration The configurationpublic ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient
- The Api clientpublic com.squareup.okhttp.Call addCall(AddRequest 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 WatermarkResult add(AddRequest request) throws ApiException
request
- The request modelApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<WatermarkResult> addWithHttpInfo(AddRequest 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 addAsync(AddRequest request, ApiCallback<WatermarkResult> 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 removeCall(RemoveRequest 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 RemoveResult remove(RemoveRequest request) throws ApiException
request
- The request modelApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<RemoveResult> removeWithHttpInfo(RemoveRequest 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 removeAsync(RemoveRequest request, ApiCallback<RemoveResult> 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 replaceCall(ReplaceRequest 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 ReplaceResult replace(ReplaceRequest request) throws ApiException
request
- The request modelApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ReplaceResult> replaceWithHttpInfo(ReplaceRequest 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 replaceAsync(ReplaceRequest request, ApiCallback<ReplaceResult> 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 searchCall(SearchRequest 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 SearchResult search(SearchRequest request) throws ApiException
request
- The request modelApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<SearchResult> searchWithHttpInfo(SearchRequest 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 searchAsync(SearchRequest request, ApiCallback<SearchResult> 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 © 2019. All rights reserved.