CLbtMovementDetector Class Reference

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 .

Supported use cases:
  • Load movement detector.

  • Unload movement detector.

  • Request notification about movement detector events.

  • Remove notification request.

movementdetector.lib
Since
S60 TACO

Inherits from

Constructor & Destructor Documentation

~CLbtMovementDetector()

IMPORT_C ~CLbtMovementDetector ( ) [virtual]

Unloads this movement detector.

Since
S60 TACO

Member Functions Documentation

NewL()

IMPORT_C CLbtMovementDetector * NewL ( ) [static]

Loads a movement detector and initalises it. Detector does not start running until a call to RequestNotificationL() .

Since
S60 TACO

RequestNotificationL(MLbtMovementObserver *, TInt)

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 .

Since
S60 TACO

Parameters

MLbtMovementObserver * aObserver An observer to be registered. Object must implement MMovementObserver
TInt aSleepDuration Time duration during which movement detection should listen for movement

StopNotification()

IMPORT_C void StopNotification ( ) [pure virtual]

Request removal of movement notification request.

Since
S60 TACO

Member Data Documentation

TUid iDtor_ID_Key

TUid iDtor_ID_Key [private]

Instance identifier key