AGpsRilInterface结构参考
#include < gps.h >
支持AGPS_RIL的扩展接口。
在文件gps.h的第1145行的定义。
void(* ni_message)(uint8_t * msg,size_t len) |
void(* set_ref_location)(const AGpsRefLocation * agps_reflocation,size_t sz_struct) |
void(* update_network_availability)(int available,const char * apn) |
通知GPS网络状态更改。这些参数与android.net.NetworkInfo类中的值匹配。
在文件gps.h的第1178行定义。
void(* update_network_state)(已连接,int类型,int漫游,const char * extra_info) |
通知GPS网络状态更改。这些参数与android.net.NetworkInfo类中的值匹配。
在文件gps.h的第1172行定义。
该结构的文档是从以下文件生成的:
- 硬件/ libhardware / include / hardware / gps.h
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2019-10-02 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]