アクティビティ
最新
バナーの背景画像
UI Automation のアクティビティ
最終更新日 2024年4月26日

PositionalSwipe

開始位置と終了位置を指定して、画面のあらかじめ定義された場所までスワイプします。

定義

名前空間: UiPath.MobileAutomation.API.Models

アセンブリ: 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
デバイス画面上で [指定位置をスワイプ] の開始位置を設定します。
endSwipePoint
デバイス画面上で [指定位置をスワイプ] の終了位置を設定します。
coordinatesType CoordinatesTypeEnum (任意)
startSwipePointendSwipePoint の座標タイプを指定します。既定値は CoordinatesTypeEnum.DeviceIndependentPixels です。利用可能な選択肢は次のとおりです。
  • CoordinatesTypeEnum.DeviceIndependentPixels - このオプションは、単一のデバイスを使用してワークフローを実行する場合に使用します。画面上の実際のピクセルに対応するため、デバイスごとに異なります。
  • CoordinatesTypeEnum.PhysicalPixels - このオプションは、画面の密度が似ている複数のデバイス上でワークフローを実行する場合に使用します。デバイスに依存しないピクセルは、選択した画面領域のピクセル密度に基づいてターゲットを指定することを意味します。
waitTime Float (任意)
点から点への遷移中に待機する時間 (秒単位) を指定します。
options MobileOptions.PositionalSwipeOptions (任意)
DrawPattern アクションの MobileOptions.DrawPatternOptions を指定します。既定値は null です。

Was this page helpful?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
UiPath ロゴ (白)
信頼とセキュリティ
© 2005-2024 UiPath. All rights reserved.