public static class ClickAction.LongClick extends ClickAction
ClickAction.DoubleClick, ClickAction.LongClick, ClickAction.SingleClick
DOUBLE, LONG, SINGLE
Constructor and Description |
---|
LongClick(long timeoutMillis) |
Modifier and Type | Method and Description |
---|---|
boolean |
perform(InputInjector injector,
UiElement element)
Performs the action by injecting synthesized events.
|
toString
perform
getTimeoutMillis
public boolean perform(InputInjector injector, UiElement element)
EventAction
perform
in class EventAction
injector
- the injector to inject InputEvent
selement
- the UiElement to perform the action on