# 原生 NTRIP 客户端 API

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

这些 API 配置并使用原生 NTRIP 客户端向精确定位引擎 (eDGNSS/RTK) 提供校正数据

Note: 仅允许 OEM 应用程序运行这些 API。缺少 OEM 权限将返回 EDGNSS\_LOCATION\_STATUS\_FAILURE\_UNSUPPORTED。OEM 应用程序需要在 Android manifest 文件中声明 `com.qualcomm.qti.permission.ACCESS_PRECISE_LOCATION_API` 用户权限，以调用原生 NTRIP 配置 API。

- **[updateNTRIPGGAConsent](https://docs.qualcomm.com/doc/80-PK177-134Y/topic/update_ntripgga_consent.html)**  

为原生 NTRIP 客户端授予权限，使其可以与 NTRIP 服务器共享 GGA NMEA。如果 NTRIP 服务器不需要 GGA NMEA 数据，则用户无需接受 GGA NMEE 许可。如果 NTRIP 服务器需要 GGA NMEA 数据，用户应接受获取校正数据的许可。仅允许 OEM 应用程序运行此 API。
- **[enablePPENtripStream](https://docs.qualcomm.com/doc/80-PK177-134Y/topic/enable_ppentrip_stream.html)**  

在定位模块中启用原生 NTRIP 客户端。一次只需要一个 OEM 应用程序配置 NTRIP 原生客户端。
- **[disablePPENtripStream](https://docs.qualcomm.com/doc/80-PK177-134Y/topic/disable_ppentrip_stream.html)**  

禁用原生 NTRIP 服务器。仅允许 OEM 应用程序运行此 API。

**Parent Topic:** [通用位置 API、回调、枚举和结构体](https://docs.qualcomm.com/doc/80-PK177-134Y/topic/common_location_apis_callbacks_enums_and_structs.html)

Last Published: Jun 22, 2023

[Previous Topic
registerLocationCapabilitiesCallback](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134Y/topics/register_location_capabilities_callback.md) [Next Topic
updateNTRIPGGAConsent](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134Y/topics/update_ntripgga_consent.md)