Swiper
public
interface
Swiper
android.support.test.espresso.action.Swiper |
Known Indirect Subclasses |
Interface to implement different swipe types.
Summary
Nested classes | |
---|---|
enum |
Swiper.Status
The result of the swipe. |
Public methods | |
---|---|
abstract
Swiper.Status
|
sendSwipe(UiController uiController, float[] startCoordinates, float[] endCoordinates, float[] precision)
Swipes from |
Public methods
sendSwipe
Swiper.Status sendSwipe (UiController uiController, float[] startCoordinates, float[] endCoordinates, float[] precision)
Swipes from startCoordinates
to endCoordinates
using the given uiController
to send MotionEvent
s.
Parameters | |
---|---|
uiController |
UiController : a UiController to use to send MotionEvents to the screen. |
startCoordinates |
float : a float[] with x and y co-ordinates of the start of the swipe. |
endCoordinates |
float : a float[] with x and y co-ordinates of the end of the swipe. |
precision |
float : a float[] with x and y values of precision of the tap. |
Returns | |
---|---|
Swiper.Status |
The status of the swipe. |
Interfaces
Classes
- AdapterDataLoaderAction
- AdapterViewProtocol.AdaptedData
- AdapterViewProtocol.AdaptedData.Builder
- AdapterViewProtocols
- CloseKeyboardAction
- EditorAction
- EspressoKey
- EspressoKey.Builder
- GeneralClickAction
- GeneralSwipeAction
- KeyEventAction
- MotionEvents
- MotionEvents.DownResultHolder
- OpenLinkAction
- PressBackAction
- RepeatActionUntilViewState
- ReplaceTextAction
- ScrollToAction
- TypeTextAction
- ViewActions
Enums
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-11 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-04-11 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-11 UTC."]]