VisioDevKit-Sample
v2.0
|
An abstract superclass for location providers. More...
Public Types | |
enum | { AVAILABLE = 0, OUT_OF_SERVICE, TEMPORARILY_UNAVAILABLE } |
Public Member Functions | |
virtual std::string | getName ()=0 |
Returns the name of the provider. More... | |
virtual void | enable ()=0 |
Requests provider starts sending location notifications. More... | |
virtual void | disable ()=0 |
Requests provider stops sending location notifications. More... | |
virtual bool | isEnabled ()=0 |
Returns true if the provider is enabled. More... | |
virtual bool | supportsPosition ()=0 |
Returns true if the provider supports position updates. More... | |
virtual bool | supportsAccuracy ()=0 |
Returns true if the provider supports accuracy updates. More... | |
virtual bool | supportsContext ()=0 |
Returns true if the provider supports context updates. More... | |
virtual bool | supportsFloor ()=0 |
Returns true if the provider supports floor updates. More... | |
virtual bool | supportsHeading ()=0 |
Returns true if the provider supports heading updates. More... | |
virtual | ~VgMyLocationProvider () |
An abstract superclass for location providers.
A location provider provides periodic reports on the geographical location of the device.
A good position provider shall:
|
inlinevirtual |
|
pure virtual |
Requests provider stops sending location notifications.
If provider is registered with the location manager, a notifyLocationProviderDisabled() will be broadcast to associated listeners.
Implemented in VgMySimulatedLocationProvider.
|
pure virtual |
Requests provider starts sending location notifications.
If provider is registered with the location manager, a notifyLocationProviderEnabled() will be broadcast to associated listeners
Implemented in VgMySimulatedLocationProvider.
|
pure virtual |
Returns the name of the provider.
Implemented in VgMySimulatedLocationProvider.
|
pure virtual |
Returns true if the provider is enabled.
Implemented in VgMySimulatedLocationProvider.
|
pure virtual |
Returns true if the provider supports accuracy updates.
Implemented in VgMySimulatedLocationProvider.
|
pure virtual |
Returns true if the provider supports context updates.
Implemented in VgMySimulatedLocationProvider.
|
pure virtual |
Returns true if the provider supports floor updates.
Implemented in VgMySimulatedLocationProvider.
|
pure virtual |
Returns true if the provider supports heading updates.
Implemented in VgMySimulatedLocationProvider.
|
pure virtual |
Returns true if the provider supports position updates.
Implemented in VgMySimulatedLocationProvider.