# registerAsCorrectionDataSource

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

将应用程序注册为精确定位引擎的校正数据提供程序。这是应用程序请求精确位置更新时必须调用的 API。

registerAsCorrectionDataSource( )Copy to clipboard

## 参数

| 参数 | API 类型 | 数据类型 | 说明 |
| --- | --- | --- | --- |
| correctionDataType | Java | CorrectionDataType | 应用程序将要提供的校正数据类型，在 [CorrectionDataType](https://docs.qualcomm.com/doc/80-PK177-134Y/topic/correction_data_type_enum.html) 枚举中定义。 |
| correctionDataType | 原生 | pp\_edgnss\_CorrectionDataType | 应用程序将要提供的校正数据类型，在 [CorrectionDataType](https://docs.qualcomm.com/doc/80-PK177-134Y/topic/correction_data_type_enum.html) 枚举中定义。 |
| cb | Java | ICorrectionStreamingControlCallback | 精确定位引擎用来请求校正数据的回调。 |
| cb | 原生 | pp\_edgnss\_CorrectionStreamingControl | 精确定位引擎用来请求校正数据的回调。 |
|  |  |  |  |

## 返回结果

| 返回结果 | API 类型 | 数据类型 |
| --- | --- | --- |
| [位置状态](https://docs.qualcomm.com/doc/80-PK177-134Y/topic/edgnss_location_status.html) | Java | LocationStatus |
| [位置状态](https://docs.qualcomm.com/doc/80-PK177-134Y/topic/edgnss_location_status.html) | 原生 | pp\_edgnss\_LocationStatus |
|  |  |  |

**Parent Topic:** [应用程序校正数据 API](https://docs.qualcomm.com/doc/80-PK177-134Y/topic/application_correction_data_apis.html)

Last Published: Jun 22, 2023

[Previous Topic
应用程序校正数据 API](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134Y/topics/application_correction_data_apis.md) [Next Topic
deRegisterAsCorrectionDataSource](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134Y/topics/deregister_as_correction_data_source.md)