# ILocationReportCallback

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

此回调接收位置字段作为参数。

## Java

    void ILocationReportCallback () { onValues(Location location) {} }Copy to clipboard

## 原生

    typedef void (*pp_<subsystem>_LocationReportCallback) (pp_<subsystem>_Location location);Copy to clipboard

Note: &lt;subsystem&gt; 应替换为 `edgnss` 或 `rtk`，具体视所用子系统而定。

## 参数

| 参数 | API 类型 | 数据类型 | 说明 |
| --- | --- | --- | --- |
| 位置 | Java | 位置 | [位置报告](https://docs.qualcomm.com/doc/80-PK177-134Y/topic/location_report.html)。 <br>Note: 位置报告始终包含纬度、经度和海拔高度。 |
| 位置 | 原生 | <ul class="ul"><li class="li">pp_edgnss_Location</li><br><li class="li">pp_rtk_Location</li><br></ul> | [位置报告](https://docs.qualcomm.com/doc/80-PK177-134Y/topic/location_report.html)。 <br>Note: 位置报告始终包含纬度、经度和海拔高度。 |
|  |  |  |  |

**Parent Topic:** [位置回调](https://docs.qualcomm.com/doc/80-PK177-134Y/topic/edgnss_callbacks.html)

Last Published: Jun 22, 2023

[Previous Topic
位置回调](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134Y/topics/edgnss_callbacks.md) [Next Topic
ILocationCapabilitiesCallback](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134Y/topics/ilocation_capabilities_callback.md)