v1

latestOpenAPI 3.0.02026-07-17331930.1 KB

Performs a swipe.

Performs a swipe from one coordinate to another using the number of steps to determine smoothness and speed. Each step execution is throttled to 5ms per step. So for a 100 steps, the swipe will take about 1/2 second to complete.

get/uiDevice/swipe

Query parameters

startXinteger required

from x

startYinteger required

from y

endXinteger required

to x

endYinteger required

end y

stepsinteger required

is the number of move steps sent to the system

Response

OK

status'OK' | 'ERROR' | 'UNKNOWKN' required
statusCodeinteger
errorMessagestring

Example response

{
  "status": "ERROR",
  "statusCode": 100,
  "errorMessage": "Operation could not be completed"
}