class MLbtMovementObserver |
Observer interface for getting notifications from movement detector CMovementDetector .
Classes interested in getting notifications when a terminal is moving must implement this interface.
Public Member Functions | |
---|---|
void | HandleDetectorNotification(const TMovementObserverEvent) |
Public Member Enumerations | |
---|---|
enum | TMovementObserverEvent { EEventMovement = 1, EEventDetectorOffline, EEventDetectorFailed, EEventDetectorOnline, EEventAccuracyChanged } |
void | HandleDetectorNotification | ( | const TMovementObserverEvent | aEvent | ) | [pure virtual] |
An observer callback to handle notification event. This is called when movement detector senses movement.
const TMovementObserverEvent aEvent | Eventcode for an event that took place. Refer to TMovementObserverEvent |
Enumeration for different observer events that are notified through MMovementObserver .
EEventMovement = 1 | |
EEventDetectorOffline |
Movement detector senses movement |
EEventDetectorFailed |
Movement detector has gone offline |
EEventDetectorOnline |
Movement detector has failed |
EEventAccuracyChanged |
Movement detector has gone online Change in accuracy that movement detector promises |
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.