class CLbtMovementDetector : public CBase |
ECom interface definition for movement detectors.
All movement detector implementations must derive from and implement this interface. The interface defines basic operations that all movement detectors must support. Movement detector report back movement observers thourgh an interface MMovementObserver .
Load movement detector.
Unload movement detector.
Request notification about movement detector events.
Remove notification request.
Public Member Functions | |
---|---|
~CLbtMovementDetector () | |
IMPORT_C CLbtMovementDetector * | NewL () |
IMPORT_C void | RequestNotificationL ( MLbtMovementObserver *, TInt ) |
IMPORT_C void | StopNotification () |
Private Attributes | |
---|---|
TUid | iDtor_ID_Key |
IMPORT_C | ~CLbtMovementDetector | ( | ) | [virtual] |
Unloads this movement detector.
IMPORT_C CLbtMovementDetector * | NewL | ( | ) | [static] |
Loads a movement detector and initalises it. Detector does not start running until a call to RequestNotificationL() .
IMPORT_C void | RequestNotificationL | ( | MLbtMovementObserver * | aObserver, |
TInt | aSleepDuration | |||
) | [pure virtual] |
Request notification for movement. This registers an object as an observer to movement notifications as well as .
MLbtMovementObserver * aObserver | An observer to be registered. Object must implement MMovementObserver |
TInt aSleepDuration | Time duration during which movement detection should listen for movement |
IMPORT_C void | StopNotification | ( | ) | [pure virtual] |
Request removal of movement notification request.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.