# registerLocationCapabilitiesCallback Source: [https://docs.qualcomm.com/doc/80-PK177-134/topic/register_location_capabilities_callback.html](https://docs.qualcomm.com/doc/80-PK177-134/topic/register_location_capabilities_callback.html) Registers to receive the location module capabilities defined in the [LocationCapabilities](https://docs.qualcomm.com/doc/80-PK177-134/topic/location_capabilities_enum.html) enum. registerLocationCapabilitiesCallback()Copy to clipboard ## Parameters | Parameter | API type | Data type | Description | | --- | --- | --- | --- | | cb | Java | ILocationCapabilitiesCallback | Callback to provide the location capabilities mask
([ILocationCapabilitiesCallback](https://docs.qualcomm.com/doc/80-PK177-134/topic/ilocation_capabilities_callback.html)). | | cb | Native | pp\_edgnss\_LocationCapabilitiesCallback | Callback to provide the location capabilities mask
([ILocationCapabilitiesCallback](https://docs.qualcomm.com/doc/80-PK177-134/topic/ilocation_capabilities_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 removePreciseLocationUpdates](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/remove_precise_location_updates_edgnss.md) [Next Topic updateNTRIPGGAConsent](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/update_ntripgga_consent.md)