Tapper

public interface Tapper

android.support.test.espresso.action.Tapper
Known Indirect Subclasses


Interface to implement different click types.

Summary

Nested classes

enum Tapper.Status

The result of the tap. 

Public methods

abstract Tapper.Status sendTap(UiController uiController, float[] coordinates, float[] precision)

Sends a MotionEvent to the given UiController.

Public methods

sendTap

Tapper.Status sendTap (UiController uiController, 
                float[] coordinates, 
                float[] precision)

Sends a MotionEvent to the given UiController.

Parameters
uiController UiController: a UiController to use to send MotionEvents to the screen.
coordinates float: a float[] with x and y values of center of the tap.
precision float: a float[] with x and y values of precision of the tap.
Returns
Tapper.Status The status of the tap.