Tapper

public interface Tapper

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


实现不同点击类型的界面。

Summary

Nested classes

枚举 Tapper.Status

水龙头的结果。

Public methods

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

发送一个MotionEvent给给定的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.