![]() |
Murl Engine API
Version 2018.3
|
The location device interface. More...
#include <murl_i_location.h>
The location device interface.
Used by the platform to post events to the device.
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... | |
|
pure virtual |
Post the current location data.
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. |
|
pure virtual |
Post the current device authorization status.
authorization | The current authorization status. |