Touch down and hold is used, for example, to open the stylus pop-up menu. It is also referred as long tap. 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.
On the whole, touch down and hold may be difficult for users to find, and therefore its use should be considered carefully. As in the case of task swapping, the use of touch down and hold should aim at being analogous to using a long key press on the hardware keys.
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.