Setting the time after which the long-tap event is sent

The most important setting for the long-tap detector is the time for which the stylus needs to be held on a control before the long-tap event is sent. Use the method SetLongTapDelay to change this time setting.

If you do not set any time value, then the default time (0.8 seconds) will be used. The time is set in microseconds.

TInt time ( 2000000 ); // 2 seconds
iLongTapDetector->SetLongTapDelay( time );