# Location

Source: [https://docs.qualcomm.com/doc/80-PK177-134/topic/precise_gtp_location_report.html](https://docs.qualcomm.com/doc/80-PK177-134/topic/precise_gtp_location_report.html)

## Java

    LocationCopy to clipboard

## Native

    precise_gtp_LocationCopy to clipboard

| Field | Data Type | Description |
| --- | --- | --- |
| locationFlags | Native: uint16\_t | Flags indicating the location parameters which are<br>                                valid in the callbacks. The flag bits are defined in LocationFlagsBits |
| Java: int |
| timestamp | Native: uint64\_t | Timestamp of the location report in UTC<br>                                milliseconds. |
| Java: long |
| latitude | Native: double | Latitude value in degrees. |
| Java: double |
| longitude | Native: double | Longitude value in degrees. |
| Java: double |
| altitude | Native: double | Altitude value in meters. |
| Java: double |
| speed | Native: float | Speed value in meters per second. |
| Java: float |
| bearing | Native: float | Bearing value in degrees. |
| Java: float |
| accuracy | Native: float | Accuracy value in meters. |
| Java: float |
| verticalAccuracy | Native: float | Vertical Accuracy value in meters. |
| Java: float |
| speedAccuracy | Native: float | Speed Accuracy value in meters per second. |
| Java: float |
| bearingAccuracy | Native: float | Bearing Accuracy value in degrees. |
| Java: float |
| elapsedRealTimeNanos | Native: uint64\_t | Elapsed time since system boot, in<br>                                nanoseconds. |
| Java: long |
| elapsedRealTimeUncNanos | Native: uint64\_t | Uncertainty in elapsed time since system boot, in<br>                                nanoseconds. |
| Java: long |

**Parent Topic:** Precise GTP classes and structs

Last Published: Nov 14, 2024

Previous Topic
 
Precise GTP classes and structs Next Topic

Example code