# updateNTRIPGGAConsent

Source: [https://docs.qualcomm.com/doc/80-PK177-134Y/topic/update_ntripgga_consent.html](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。

updateNTRIPGGAConsent( )Copy to clipboard

## 参数

| 参数 | API 类型 | 数据类型 | 说明 |
| --- | --- | --- | --- |
| consentAccepted | Java | boolean | 指示用户许可状态的布尔值。 |
| consentAccepted | 原生 | bool | 指示用户许可状态的布尔值。 |
|  |  |  |  |

## 返回结果

| 返回结果 | API 类型 | 数据类型 |
| --- | --- | --- |
| [位置状态](https://docs.qualcomm.com/doc/80-PK177-134Y/topic/edgnss_location_status.html) | Java | LocationStatus |
| [位置状态](https://docs.qualcomm.com/doc/80-PK177-134Y/topic/edgnss_location_status.html) | 原生 | pp\_edgnss\_LocationStatus |
|  |  |  |

**Parent Topic:** [原生 NTRIP 客户端 API](https://docs.qualcomm.com/doc/80-PK177-134Y/topic/native_ntrip_client_apis.html)

Last Published: Jun 22, 2023

[Previous Topic
原生 NTRIP 客户端 API](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134Y/topics/native_ntrip_client_apis.md) [Next Topic
enablePPENtripStream](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134Y/topics/enable_ppentrip_stream.md)