Activities
latest
false
Banner background image
UI Automation Activities
Last updated Apr 26, 2024

PositionalSwipe

Swipes to a predefined location on the screen with starting and ending points.

Definition

Namespace: UiPath.MobileAutomation.API.Models

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

PositionalSwipe(Point, Point, CoordinatesTypeEnum, Float, MobileOptions.PositionalSwipeOptions)

PositionalSwipe(
	    Point startSwipePoint,
	    Point endSwipePoint,
	    CoordinatesTypeEnum coordinatesType = CoordinatesTypeEnum.DeviceIndependentPixels,
	    float waitTime = 4f,
	    MobileOptions. PositionalSwipeOptions options = null
)PositionalSwipe(
	    Point startSwipePoint,
	    Point endSwipePoint,
	    CoordinatesTypeEnum coordinatesType = CoordinatesTypeEnum.DeviceIndependentPixels,
	    float waitTime = 4f,
	    MobileOptions. PositionalSwipeOptions options = null
)
startSwipePoint Point
Set the starting points for your positional swipe on the device screen.
endSwipePoint Point
Set the ending points for your positional swipe on the device screen.
coordinatesType CoordinatesTypeEnum (Optional)
Specifies the coordinates type of startSwipePoint and endSwipePoint. Default value is CoordinatesTypeEnum.DeviceIndependentPixels. The available choices are:
  • CoordinatesTypeEnum.DeviceIndependentPixels - Use this option for workflows using a single device. Since the indication corresponds to actual pixels on the screen, it's different for each device.
  • CoordinatesTypeEnum.PhysicalPixels - Use this option to run workflows on devices with similar density screens. Device-independent pixels means that you are indicating a target based on the pixel density of the selected screen area.
waitTime Float (Optional)
Specifies the duration of time(in seconds) spent waiting during transitions between points.
options MobileOptions.PositionalSwipeOptions (Optional)
Specifies the MobileOptions.DrawPatternOptions for the DrawPattern action. Default value is null.

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.