UiPath Documentation
activities
latest
false
Importante :
A tradução automática foi aplicada parcialmente neste conteúdo. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

Atividades do UIAutomation

PositionalSwipe

Desliza para um local predefinido na tela com pontos inicial e final.

Definição

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (em 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 Ponto : defina os pontos de partida para seu deslizar posicional na tela do dispositivo.

endSwipePoint Ponto : defina os pontos finais para seu deslizar posicional na tela do dispositivo.

coordinatesType CoordinatesTypeEnum (Opcional) : especifica o tipo de coordenadas de startSwipePoint e endSwipePoint. O valor padrão é CoordinatesTypeEnum.DeviceIndependentPixels. As opções disponíveis são:

* `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.
* `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 Flutuante (Opcional) : especifica a duração do tempo (em segundos) gasto esperando durante as transições entre os pontos.

options MobileOptions.PositionalSwipeOptions (Opcional) : especifica o MobileOptions.DrawPatternOptions para a ação DrawPattern . O valor padrão é nulo.

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte

Quer aprender? Academia UiPath

Tem perguntas? Fórum do UiPath

Fique por dentro das novidades