Stay organized with collections
Save and categorize content based on your preferences.
GpsMeasurementInterface Struct Reference
#include <
gps.h
>
Extended interface for GPS Measurements support.
Definition at line
1982
of file
gps.h
.
Stops updates from the HAL, and unregisters the callback routines. After a call to stop, the previously registered callbacks must be considered invalid by the HAL. If stop is invoked without a previous 'init', this function should perform no work.
Definition at line
2005
of file
gps.h
.
Initializes the interface and registers the callback routines with the HAL. After a successful call to 'init' the HAL must begin to provide updates at its own phase.
Status: GPS_MEASUREMENT_OPERATION_SUCCESS GPS_MEASUREMENT_ERROR_ALREADY_INIT - if a callback has already been registered without a corresponding call to 'close' GPS_MEASUREMENT_ERROR_GENERIC - if any other error occurred, it is expected that the HAL will not generate any updates upon returning this error code.
Definition at line
1997
of file
gps.h
.
Set to sizeof(GpsMeasurementInterface)
Definition at line
1984
of file
gps.h
.
The documentation for this struct was generated from the following file:
-
hardware/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":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"lastModified": "Last updated 2019-10-02 UTC.",
"confidential": False
}