MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QML TapReading Element

The TapReading element holds the most recent TapSensor reading. More...

Inherits SensorReading

TapReading instantiates the C++ class QTapReading

This element was introduced in Mobility 1.1.

Properties

Detailed Description

The TapReading element holds the most recent TapSensor reading.

This element wraps the QTapReading class. Please see the documentation for QTapReading for details.

This element cannot be directly created.

Property Documentation

read-onlydoubleTap : bool

Please see QTapReading::doubleTap for information about this property.

This property group was introduced in Mobility 1.2.


read-onlytapDirection : QTapReading::TapDirection

Please see QTapReading::tapDirection for information about this property.

TapDirection constants are exposed through the TapReading class.

 TapSensor {
     onReadingChanged: {
         if ((reading.tapDirection & TapReading.X_Both))
             // do something
     }
 }

This property group was introduced in Mobility 1.2.