# 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 <br>                                CorrectionDataType enum. |
| Native | pp\_edgnss\_CorrectionDataType |
| cb | Java | ICorrectionStreamingControlCallback | Callback with which precise positioning engine will<br>                                request the correction data (ICorrectionStreamingControlCallback). |
| Native | pp\_edgnss\_CorrectionStreamingControl |
| ret | Native | pp\_edgnss\_LocationStatus& | On success this is the actual return value from the API.<br><br><br>                                <br>See Location status. |

## Returns

| Return | API type | Data type | Description |
| --- | --- | --- | --- |
| response | Java | LocationStatus | Location status |
| Native | qesdk\_transaction\_status | See QESDK transaction status for Native APIs 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

Last Published: Nov 14, 2024

Previous Topic
 
disablePPENtripStream Next Topic

deRegisterAsCorrectionDataSource