使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
GpsInterface 结构参考
#include < gps.h >
代表标准 GPS 接口。
在文件gps.h的第790行定义。
指定下一个开始调用将不使用标志中定义的信息。 GPS_DELETE_ALL 用于冷启动。
在文件gps.h的第824行定义。
const void*(* get_extension)(const char *name) |
int(* injection_location)(双纬,双经,浮点精度) |
从另一个位置提供者(通常是小区 ID)注入当前位置。纬度和经度以度为单位测量预期精度以米为单位
在文件gps.h的第817行定义。
int(* injection_time)( GpsUtcTime时间,int64_t timeReference,int 不确定性) |
min_interval 表示修复之间的时间(以毫秒为单位)。 preferred_accuracy 表示请求的修复精度(以米为单位)。 preferred_time 表示请求的第一次修复时间(以毫秒为单位)。
'mode' 参数应该是 GPS_POSITION_MODE_MS_BASED 或 GPS_POSITION_MODE_STANDALONE 之一。如果传入 GPS_POSITION_MODE_MS_ASSISTED 并且支持 GPS_POSITION_MODE_MS_BASED,则平台允许(并且推荐)回退到 GPS_POSITION_MODE_MS_BASED。
在文件gps.h的第837行定义。
设置为 sizeof(GpsInterface)
在文件gps.h的第792行定义。
此结构的文档是从以下文件生成的:
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-08-30。
[{
"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":"其他"
}]