public interface TasksClient
| Modifier and Type | Method and Description |
|---|---|
CancelTasksResponse |
cancelTasks(ParametersForCancelTasks parameters)
- Starts the cancellation for a set of one or more tasks.
- Provide comma-separated list of task IDs to cancel. |
TaskCollectionResponse |
listTasks(ParametersForListTasks parameters)
- Returns the status of a set of one or more tasks.
- Provide a comma-separated list of task IDs to get the task status, progress, and any errors that may have occurred. - Leave the taskIds query parameter empty, to get the list of all the task IDs associated with the current access token. - TaskStatus can be one of the following values: NotStarted, InProgress, Completed, Cancelled, or Failed. - This API employs long polling technique and could return the result immediately (e.g. |
TaskCollectionResponse listTasks(ParametersForListTasks parameters)
parameters - An object of type ParametersForListTasks which encapsulates the parameters of listTasks method.TaskCollectionResponse The return valueCancelTasksResponse cancelTasks(ParametersForCancelTasks parameters)
parameters - An object of type ParametersForCancelTasks which encapsulates the parameters of cancelTasks method.CancelTasksResponse The return valueCopyright © 2025. All rights reserved.