My Project
|
Send location information to the PTV Navigator. More...
Variables | |
static final int | MSG_RI_SEND_LOCATION = 203 |
Send location information to the PTV Navigator.
The application will handle the location information as real GPS. The information will only be used, if the message Let the PTV Navigator use GPS only from RI was sent before.
Be sure to call Let the PTV Navigator use GPS from the device if you want to switch back to real GPS.
Info: The satellite info will always be set to "9" satellites in this mode.
Key | Value | Type | Info |
---|---|---|---|
Longitude | The longitudal coordinate | double | |
Latitude | The latitudal coordinate | double | |
Bearing | The direction to move to in degrees, north is 0, east is 90 | float | |
Altitude | The altitude | double | |
Speed | The current speed [m/s] | float | |
Time | The UTC timestamp of the location in milliseconds since 01.01.1970 | long |
RI_ERROR_NONE if everything is ok.
RI_ERROR_RI_DISABLED if the Remote Interface service is disabled and/or not licensed.
RI_ERROR_IS_INITIALIZING if the Remote Interface service is not initialized yet.
(RI_ERROR_SEND_LOCATION_NOT_ALLOWED not implemented yet).
© PTV Group 2021 | Generated on Sun Oct 2 2022 19:28:23 for My Project by 1.8.17 |