Murl::ILocation Interface Referenceabstract
The location device interface. More...
#include "murl_i_location.h"
Inherited by Murl::Input::LocationDevice.
Public Member Functions | |
virtual void | PostEvent (Double latitude, Double longitude, Double altitude, Double velocity, Double horizontalAccuracy, Double verticalAccuracy)=0 |
Post the current location data. More... | |
virtual void | PostStatusEvent (IEnums::AuthorizationStatus authorization)=0 |
Post the current device authorization status. More... | |
Detailed Description
The location device interface.
Used by the platform to post events to the device.
Member Function Documentation
◆ PostEvent()
|
pure virtual |
Post the current location data.
- Parameters
-
latitude The latitude in degrees relative to the equator. Positive values indicate latitudes north of the equator. Negative values indicate latitudes south of the equator. longitude The longitude in degrees relative to the zero meridian. Positive values extending east of the meridian and negative values extending west of the meridian. altitude The altitude above sea level in meters. Positive values are above sea level and negative values are below sea level. velocity The velocity over ground in meters per second. A negative value indicates an invalid speed. horizontalAccuracy The radius of uncertainty for the location in meters. A negative value indicates that the latitude and longitude are invalid. verticalAccuracy The accuracy of the altitude in meters. A negative value indicates that the altitude value is invalid.
◆ PostStatusEvent()
|
pure virtual |
Post the current device authorization status.
- Parameters
-
authorization The current authorization status.
The documentation for this interface was generated from the following file:
- murl_i_location.h