Page tree
Skip to end of metadata
Go to start of metadata

void flick(Direction, Offset)

Supported in iOS Supported in Android


Flick the screen in a given direction.



In order to flick the screen you can add the command 'flick', provide the direction and offset.

As a visible aid, an arrow will be drawn on the reflection showing the flick motion.

It will start according the swipe value and will point the opposite of the swipe direction.

For example, for the Right direction, the swipe arrow will point to the Left.

ScenarioIn the following example, we will flick to the screen to the right in order to get to an application. 


  • Direction: Direction to flick – will be set to RIGHT
  • Offset: Flick offset – will be set to 100

Code Examples

Java Example
client.flick("Right", 100);
C# Example
client.Flick("Right", 100);
VBScript Example
client.Flick "Right", 100
Python Example
self.client.flick("Right", 100)
Perl Example
$client->flick("Right", 100);
  • No labels