# 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](https://docs.qualcomm.com/doc/80-PK177-134/topic/precise_gtp_location_flags_bits.html) |
| locationFlags | Java: int | Flags indicating the location parameters which are<br>                                valid in the callbacks. The flag bits are defined in [LocationFlagsBits](https://docs.qualcomm.com/doc/80-PK177-134/topic/precise_gtp_location_flags_bits.html) |
| timestamp | Native: uint64\_t | Timestamp of the location report in UTC<br>                                milliseconds. |
| timestamp | Java: long | Timestamp of the location report in UTC<br>                                milliseconds. |
| latitude | Native: double | Latitude value in degrees. |
| latitude | Java: double | Latitude value in degrees. |
| longitude | Native: double | Longitude value in degrees. |
| longitude | Java: double | Longitude value in degrees. |
| altitude | Native: double | Altitude value in meters. |
| altitude | Java: double | Altitude value in meters. |
| speed | Native: float | Speed value in meters per second. |
| speed | Java: float | Speed value in meters per second. |
| bearing | Native: float | Bearing value in degrees. |
| bearing | Java: float | Bearing value in degrees. |
| accuracy | Native: float | Accuracy value in meters. |
| accuracy | Java: float | Accuracy value in meters. |
| verticalAccuracy | Native: float | Vertical Accuracy value in meters. |
| verticalAccuracy | Java: float | Vertical Accuracy value in meters. |
| speedAccuracy | Native: float | Speed Accuracy value in meters per second. |
| speedAccuracy | Java: float | Speed Accuracy value in meters per second. |
| bearingAccuracy | Native: float | Bearing Accuracy value in degrees. |
| bearingAccuracy | Java: float | Bearing Accuracy value in degrees. |
| elapsedRealTimeNanos | Native: uint64\_t | Elapsed time since system boot, in<br>                                nanoseconds. |
| elapsedRealTimeNanos | Java: long | Elapsed time since system boot, in<br>                                nanoseconds. |
| elapsedRealTimeUncNanos | Native: uint64\_t | Uncertainty in elapsed time since system boot, in<br>                                nanoseconds. |
| elapsedRealTimeUncNanos | Java: long | Uncertainty in elapsed time since system boot, in<br>                                nanoseconds. |
|  |  |  |

**Parent Topic:** [Precise GTP classes and structs](https://docs.qualcomm.com/doc/80-PK177-134/topic/precise_gtp_classes_and_structs.html)

Last Published: Nov 14, 2024

[Previous Topic
Precise GTP classes and structs](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/precise_gtp_classes_and_structs.md) [Next Topic
Example code](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/precise_gtp_example_code.md)