Touch UI utilities API class structure

The class structure consists of the class CaknLongTapDetector. The MaknLongTapDetectorCallBack interface is used for notifying clients about long tap events.

Figure: Touch UI utilities API class structure

To receive long tap events in your application, implement the MaknLongTapDetectorCallBack interface. When the user makes long tap on the device screen, the framework sends events through this interface. Use the method HandleLongTapEventL to handle the events sent by the framework.

You need to have a separate instance of this class for each client component using it to observe long taps in the component’s control area.