Accelerometer Double-Tap Sensor Channel

The accelerometer sensor channel detects a double-tap on the device where the taps occur in quick succession and in the same direction.

The following table provides information about the accelerometer double-tap sensor channel:

Header sensrvtappingsensor.h
Data type Event
Channel type id KSensrvChannelTypeIdAccelerometerDoubleTappingData
Data Class TSensrvTappingData

The double-tap sensor channel triggers an event whenever a double-tap is detected on the device. The event data is a bitmask with appropriate bits set to indicate the direction of the double-tap. The bitmask values are specified in the sensrvtappingsensor.h header file.