activities
latest
false
UiPath logo, featuring letters U and I in white

UI Automation Activities

Last updated Dec 4, 2024

DirectionalSwipe

Perform a swipe operation with the following pre-defined directions: Down, Up, Left, Right.

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

DirectionalSwipe(SwipeDirection, short, float)

Perform a swipe operation with the following pre-defined directions: Down, Up, Left, Right.

DirectionalSwipe(
    SwipeDirection swipeDirection,
    [short swipeSize],
    [float waitTime])DirectionalSwipe(
    SwipeDirection swipeDirection,
    [short swipeSize],
    [float waitTime])
swipeDirection SwipeDirection
The direction of the swipe action. You access this parameter using the SwipeDirection enumeration. The available swipe directions are the following:
  • SwipeDirection.Down
  • SwipeDirection.Up
  • SwipeDirection.Left
  • SwipeDirection.Right
swipeSize Short (Optional)
The length of the swipe action, which is a percent of the screen size. The swipe of the size can be between 0 and 100.
waitTime Float (Optional)
The time, in seconds, that the API pauses during transitions between points.
  • Definition
  • DirectionalSwipe(SwipeDirection, short, float)

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.