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

  • CLbtMovementDetector

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 voidRequestNotificationL(MLbtMovementObserver *aObserver,
TIntaSleepDuration
)[pure virtual]

Request notification for movement. This registers an object as an observer to movement notifications as well as .

Since
S60 TACO

Parameters

MLbtMovementObserver * aObserverAn observer to be registered. Object must implement MMovementObserver
TInt aSleepDurationTime duration during which movement detection should listen for movement

StopNotification()

IMPORT_C voidStopNotification()[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