AndroidApp.SwipeRightToLeft Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SwipeRightToLeft(Double, Int32, Boolean) |
Performs a right to left swipe gesture. |
SwipeRightToLeft(Func<AppQuery,AppQuery>, Double, Int32, Boolean) |
Performs a right to left swipe gesture on the matching element. If multiple elements are matched, the first one will be used. |
SwipeRightToLeft(Func<AppQuery,AppWebQuery>, Double, Int32, Boolean) |
Performs a left to right swipe gesture on the matching element. If multiple elements are matched, the first one will be used. |
SwipeRightToLeft(String, Double, Int32, Boolean) |
Performs a right to left swipe gesture on the matching element. If multiple elements are matched, the first one will be used. |
SwipeRightToLeft(Double, Int32, Boolean)
Performs a right to left swipe gesture.
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)
Parameters
- swipePercentage
- Double
How far across the screen to swipe (from 0.0 to 1.0).
- swipeSpeed
- Int32
The speed of the gesture.
- withInertia
- Boolean
Whether swipes should cause inertia.
Implements
Applies to
SwipeRightToLeft(Func<AppQuery,AppQuery>, Double, Int32, Boolean)
Performs a right to left swipe gesture on the matching element. If multiple elements are matched, the first one will be used.
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)
Parameters
- swipePercentage
- Double
How far across the element to swipe (from 0.0 to 1.0).
- swipeSpeed
- Int32
The speed of the gesture.
- withInertia
- Boolean
Whether swipes should cause inertia.
Implements
Applies to
SwipeRightToLeft(Func<AppQuery,AppWebQuery>, Double, Int32, Boolean)
Performs a left to right swipe gesture on the matching element. If multiple elements are matched, the first one will be used.
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)
Parameters
- query
- Func<AppQuery,AppWebQuery>
Entry point for the fluent API to specify the element.
- swipePercentage
- Double
How far across the element to swipe (from 0.0 to 1.0).
- swipeSpeed
- Int32
The speed of the gesture.
- withInertia
- Boolean
Whether swipes should cause inertia.
Implements
Applies to
SwipeRightToLeft(String, Double, Int32, Boolean)
Performs a right to left swipe gesture on the matching element. If multiple elements are matched, the first one will be used.
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)
Parameters
- marked
- String
Marked selector to match. See Marked(String) for more information.
- swipePercentage
- Double
How far across the element to swipe (from 0.0 to 1.0).
- swipeSpeed
- Int32
The speed of the gesture.
- withInertia
- Boolean
Whether swipes should cause inertia.