Used for receiving notifications from the VgMyLocationManager when the location has changed.
More...
Used for receiving notifications from the VgMyLocationManager when the location has changed.
These methods are called if the VgMyLocationListener has been registered with the location manager service using the method, addListener().
| virtual VgMyLocationListener::~VgMyLocationListener |
( |
| ) |
|
|
inlineprotectedvirtual |
| virtual void VgMyLocationListener::notifyAccuracyDidChange |
( |
const std::string & |
pProvider, |
|
|
double |
pAccuracy |
|
) |
| |
|
pure virtual |
| virtual void VgMyLocationListener::notifyContextDidChange |
( |
const std::string & |
pProvider, |
|
|
int |
pContext |
|
) |
| |
|
pure virtual |
| virtual void VgMyLocationListener::notifyFloorDidChange |
( |
const std::string & |
pProvider, |
|
|
const std::string & |
pFloor |
|
) |
| |
|
pure virtual |
| virtual void VgMyLocationListener::notifyHeadingDidChange |
( |
const std::string & |
pProvider, |
|
|
double |
pHeading |
|
) |
| |
|
pure virtual |
Called when the heading has changed.
Heading is the horizontal direction of travel of this device, and is not related to the device orientation.
- Parameters
-
| pProvider | The location provider responsible for sending the notification. |
| pHeading | The new heading. The valid range for the heading is [0.0, 360.0]. Where 0.0 is North, and increasing values starts towards the East. |
Implemented in VgMyPositionTracker, VgMyLocationManager, VgMyAvatarDisplay, and VgMyAvatarDiscDisplay.
| virtual void VgMyLocationListener::notifyLocationProviderDisabled |
( |
const std::string & |
pProvider | ) |
|
|
pure virtual |
| virtual void VgMyLocationListener::notifyLocationProviderEnabled |
( |
const std::string & |
pProvider | ) |
|
|
pure virtual |
| virtual void VgMyLocationListener::notifyPositionDidChange |
( |
const std::string & |
pProvider, |
|
|
const VgEngine::VgPosition & |
pPosition |
|
) |
| |
|
pure virtual |
| virtual void VgMyLocationListener::notifyStatusDidChange |
( |
const std::string & |
pProvider, |
|
|
int |
pStatus |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following file: