iOSApp.SwipeRightToLeft 方法

定义

重载

SwipeRightToLeft(String, Double, Int32, Boolean)

对匹配元素执行从右到左轻扫手势。 如果匹配多个元素,将使用第一个元素。

SwipeRightToLeft(Func<AppQuery,AppWebQuery>, Double, Int32, Boolean)

对匹配元素执行从右到左轻扫手势。 如果匹配多个元素,将使用第一个元素。

SwipeRightToLeft(Double, Int32, Boolean)

执行从右到左轻扫手势。

SwipeRightToLeft(Func<AppQuery,AppQuery>, Double, Int32, Boolean)

对匹配元素执行从右到左轻扫手势。 如果匹配多个元素,将使用第一个元素。

SwipeRightToLeft(String, Double, Int32, Boolean)

对匹配元素执行从右到左轻扫手势。 如果匹配多个元素,将使用第一个元素。

public void SwipeRightToLeft (string marked, double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true);
abstract member SwipeRightToLeft : string * double * int * bool -> unit
override this.SwipeRightToLeft : string * double * int * bool -> unit
Public Sub SwipeRightToLeft (marked As String, Optional swipePercentage As Double = 0.67, Optional swipeSpeed As Integer = 500, Optional withInertia As Boolean = true)

参数

marked
String

标记了要匹配的选择器。 有关详细信息,请参阅Marked(String)

swipePercentage
Double

从 0.0 到 1.0) 在元素 (轻扫的距离。

swipeSpeed
Int32

手势的速度。

withInertia
Boolean

轻扫是否会导致惯性。

实现

适用于

SwipeRightToLeft(Func<AppQuery,AppWebQuery>, Double, Int32, Boolean)

对匹配元素执行从右到左轻扫手势。 如果匹配多个元素,将使用第一个元素。

public void SwipeRightToLeft (Func<Xamarin.UITest.Queries.AppQuery,Xamarin.UITest.Queries.AppWebQuery> query, double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true);
abstract member SwipeRightToLeft : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppWebQuery> * double * int * bool -> unit
override this.SwipeRightToLeft : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppWebQuery> * double * int * bool -> unit
Public Sub SwipeRightToLeft (query As Func(Of AppQuery, AppWebQuery), Optional swipePercentage As Double = 0.67, Optional swipeSpeed As Integer = 500, Optional withInertia As Boolean = true)

参数

query
Func<AppQuery,AppWebQuery>

Fluent API 用于指定 元素的入口点。

swipePercentage
Double

从 0.0 到 1.0) 在元素 (轻扫的距离。

swipeSpeed
Int32

手势的速度。

withInertia
Boolean

轻扫是否会导致惯性。

实现

适用于

SwipeRightToLeft(Double, Int32, Boolean)

执行从右到左轻扫手势。

public void SwipeRightToLeft (double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true);
abstract member SwipeRightToLeft : double * int * bool -> unit
override this.SwipeRightToLeft : double * int * bool -> unit
Public Sub SwipeRightToLeft (Optional swipePercentage As Double = 0.67, Optional swipeSpeed As Integer = 500, Optional withInertia As Boolean = true)

参数

swipePercentage
Double

(从 0.0 到 1.0) 在屏幕上轻扫的距离。

swipeSpeed
Int32

手势的速度。

withInertia
Boolean

轻扫是否会导致惯性。

实现

适用于

SwipeRightToLeft(Func<AppQuery,AppQuery>, Double, Int32, Boolean)

对匹配元素执行从右到左轻扫手势。 如果匹配多个元素,将使用第一个元素。

public void SwipeRightToLeft (Func<Xamarin.UITest.Queries.AppQuery,Xamarin.UITest.Queries.AppQuery> query, double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true);
abstract member SwipeRightToLeft : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery> * double * int * bool -> unit
override this.SwipeRightToLeft : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery> * double * int * bool -> unit
Public Sub SwipeRightToLeft (query As Func(Of AppQuery, AppQuery), Optional swipePercentage As Double = 0.67, Optional swipeSpeed As Integer = 500, Optional withInertia As Boolean = true)

参数

query
Func<AppQuery,AppQuery>

Fluent API 用于指定 元素的入口点。

swipePercentage
Double

从 0.0 到 1.0) 在元素 (轻扫的距离。

swipeSpeed
Int32

手势的速度。

withInertia
Boolean

轻扫是否会导致惯性。

实现

适用于