CoverRecognizer Class Reference

List of all members.

Public Member Functions

 CoverRecognizer ()
 ~CoverRecognizer ()
bool start ()
void stop ()

Detailed Description

class CoverRecognizer Cover recognizer class emits signal when a cover gesture is detected. This class will start & stop sensor services on request. Emits signal when the device is covered while lying flat, face up and still. The signal emitted will have following value: QString gestureType : "com.nokia.gesture.cover"

Definition at line 67 of file coverrecognizer.h.


Constructor & Destructor Documentation

QTM_USE_NAMESPACE CoverRecognizer::CoverRecognizer (  ) 

Constructs the object. Create an instance of the cover recognizer.

Definition at line 60 of file coverrecognizer.cpp.

CoverRecognizer::~CoverRecognizer (  ) 

Destructs the object.

Definition at line 79 of file coverrecognizer.cpp.


Member Function Documentation

bool CoverRecognizer::start (  ) 

Starts gesture detection if both accelerometer and proximity sensors are functional. Returns true if gesture detection was started, false otherwise.

Definition at line 90 of file coverrecognizer.cpp.

void CoverRecognizer::stop (  ) 

Stop gesture detection.

Definition at line 126 of file coverrecognizer.cpp.


Generated by  doxygen 1.6.2