longPressDuration property
The maximum duration to wait for distinguishing between: short press: down-up - no further down event long press: down - no further up event double press: down - up - down, we do not wait for another up event
Implementation
final int longPressDuration;