# registerAsCorrectionDataSource Source: [https://docs.qualcomm.com/doc/80-PK177-134/topic/register_as_correction_data_source.html](https://docs.qualcomm.com/doc/80-PK177-134/topic/register_as_correction_data_source.html) Registers the application as a correction data provider for the precise positioning engine. This is a mandatory API to be invoked by the application in order to request precise location updates. registerAsCorrectionDataSource()Copy to clipboard ## Parameters | Parameter | API type | Data type | Description | | --- | --- | --- | --- | | correctionDataType | Java | CorrectionDataType | The type of correction data the application is going to provide, defined in the
[CorrectionDataType](https://docs.qualcomm.com/doc/80-PK177-134/topic/correction_data_type_enum.html) enum. | | correctionDataType | Native | pp\_edgnss\_CorrectionDataType | The type of correction data the application is going to provide, defined in the
[CorrectionDataType](https://docs.qualcomm.com/doc/80-PK177-134/topic/correction_data_type_enum.html) enum. | | cb | Java | ICorrectionStreamingControlCallback | Callback with which precise positioning engine will
request the correction data ([ICorrectionStreamingControlCallback](https://docs.qualcomm.com/doc/80-PK177-134/topic/icorrection_streaming_control_callback.html)). | | cb | Native | pp\_edgnss\_CorrectionStreamingControl | Callback with which precise positioning engine will
request the correction data ([ICorrectionStreamingControlCallback](https://docs.qualcomm.com/doc/80-PK177-134/topic/icorrection_streaming_control_callback.html)). | | ret | Native | pp\_edgnss\_LocationStatus& | On success this is the actual return value from the API.



See [Location status](https://docs.qualcomm.com/doc/80-PK177-134/topic/location_status_edgnss.html). | | | | | | ## Returns | Return | API type | Data type | Description | | --- | --- | --- | --- | | response | Java | LocationStatus | [Location status](https://docs.qualcomm.com/doc/80-PK177-134/topic/location_status_edgnss.html) | | response | Native | qesdk\_transaction\_status | See [QESDK transaction status for Native APIs](https://docs.qualcomm.com/doc/80-PK177-134/topic/native_qesdk_class.html) for usage details. Use qesdk\_transaction\_status to confirm API call invocation. If successful, use the `ret` value for the actual API return value object. | | | | | | **Parent Topic:** [eDGNSS subsystem APIs](https://docs.qualcomm.com/doc/80-PK177-134/topic/edgnss_subsystem_apis.html) Last Published: Nov 14, 2024 [Previous Topic disablePPENtripStream](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/disable_ppentrip_stream.md) [Next Topic deRegisterAsCorrectionDataSource](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/deregister_as_correction_data_source.md)