diff -r 51a74ef9ed63 -r ae94777fff8f Symbian3/SDK/Source/GUID-A15EDC87-A6EF-40D8-AA78-B52449465FEA.dita --- a/Symbian3/SDK/Source/GUID-A15EDC87-A6EF-40D8-AA78-B52449465FEA.dita Wed Mar 31 11:11:55 2010 +0100 +++ b/Symbian3/SDK/Source/GUID-A15EDC87-A6EF-40D8-AA78-B52449465FEA.dita Fri Jun 11 12:39:03 2010 +0100 @@ -1,54 +1,54 @@ - - - - - -Receiving -long-tap events -

To receive long-tap events in your application using the Touch UI utilities -API, follow the steps below:

-
    -
  1. Link the AVKON libraries avkon.lib and eikcoctl.lib to -the project file of the application.

  2. -
  3. Provide an observer -class that implements the MAknLongTapDetectorCallBack interface.

  4. -
  5. Create an instance of -the class CAknLongTapDetector and pass pointer events to -the long-tap detector.

  6. -
  7. Receive long-tap events -through the observer interface.

  8. -
  9. Delete the long-tap -detector.

  10. -
-

Use cases for the long-tap detector are shown in the figure below.

- -Touch UI utilities API use cases - - -

To use the Touch UI utilities long-tap detector in your application, implement -the following use cases.

- -

The following use cases are optional, allowing you to set additional properties -for your long-tap detector.

- + + + + + +Receiving +long-tap events +

To receive long-tap events in your application using the Touch UI utilities +API, follow the steps below:

+
    +
  1. Link the AVKON libraries avkon.lib and eikcoctl.lib to +the project file of the application.

  2. +
  3. Provide an observer +class that implements the MAknLongTapDetectorCallBack interface.

  4. +
  5. Create an instance of +the class CAknLongTapDetector and pass pointer events to +the long-tap detector.

  6. +
  7. Receive long-tap events +through the observer interface.

  8. +
  9. Delete the long-tap +detector.

  10. +
+

Use cases for the long-tap detector are shown in the figure below.

+ +Touch UI utilities API use cases + + +

To use the Touch UI utilities long-tap detector in your application, implement +the following use cases.

+
    +
  • Creating the +long-tap detector

  • +
  • Handling long-tap +events

  • +
  • Deleting long-tap +detector

  • +
+

The following use cases are optional, allowing you to set additional properties +for your long-tap detector.

+
    +
  • Enabling and +disabling the long-tap detector

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

  • +
  • Setting the +time before the long-tap animation starts

  • +
\ No newline at end of file