Android APIs
public interface

Tapper

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

Class Overview

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

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

Sends a MotionEvent to the given UiController.

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