# registerLocationCapabilitiesCallback Source: [https://docs.qualcomm.com/doc/80-PK177-134/topic/precise_gtp_register_location_capabilities_callback.html](https://docs.qualcomm.com/doc/80-PK177-134/topic/precise_gtp_register_location_capabilities_callback.html) Registers a callback to be notified about this feature availability on the user device. registerLocationCapabilitiesCallback()Copy to clipboard ## Parameters | Parameter | API type | Data type | Description | | --- | --- | --- | --- | | `cb` | Java | ILocationCapabilitiesCallback | Callback to provide the location capabilities
mask | | `cb` | Native | precise\_gtp\_LocationCapabilitiesCallback | Callback to provide the location capabilities
mask | | ret | Native | precise\_gtp\_LocationStatus& | On success this is the actual return value from the API.



See [Location](https://docs.qualcomm.com/doc/80-PK177-134/topic/precise_gtp_location_report.html). | | | | | | ## Returns | Return | API type | Data type | Description | | --- | --- | --- | --- | | `response` | Java | Location | [Location](https://docs.qualcomm.com/doc/80-PK177-134/topic/precise_gtp_location_report.html). report data | | `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:** [Precise GTP subsystem APIs](https://docs.qualcomm.com/doc/80-PK177-134/topic/precise_gtp_subsystem_apis.html) Last Published: Nov 14, 2024 [Previous Topic Constructor](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/precise_gtp_creator.md) [Next Topic requestNetworkLocationUpdates](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/request_network_location_updates_QC_1.md)