Skip to content

Most visited

Recently visited

navigation

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.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.