Swipe Method (IMobileGestures)

Action

Performs a swipe between the two specified points.

Syntax

C#
iMobileGestures.Swipe(start, end, [steps, delayBetweenSteps])
VB
iMobileGestures.Swipe(start, end, [steps, delayBetweenSteps])
Variable Description
start The start point of the swipe. Point.
end The end point of the swipe. Point.
steps Optional: the number of steps between the specified points. The default number of steps for Android is 5. Increase the number of steps to increase the duration of the swipe operation. For iOS, a swipe operation is always performed in a single step. Integer.
delayBetweenSteps Optional: the delay in milliseconds for each swipe step. For example, when scrolling an application with a swipe operation, how far the application scrolls depends on the swipe speed. The default value is 5 milliseconds. Increase this delay, for example to 300 milliseconds, to create more reproducible results. Integer.