Touch down and hold

Touch down and hold is used, for example, to open the stylus pop-up menu. For more information, see Stylus pop-up menu. Applications can use an animation (starts after 0.15 seconds from the start of a stylus touch down event) to indicate that a Touch down and hold action has been initiated.

Using touch down and hold events in applications

The API to use for receiving touch down and hold events in applications or controls is the Touch UI utilities API.

Use the class CAknLongTapDetector to receive touch down and hold events.

The long tap handler must inherit from the class MAknLongTapDetectorCallBack and implement the MAknLongTapDetectorCallBack::HandleLongTapEventL() callback function.