Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
AGpsCallbacks Struct Reference
#include <
gps.h
>
Callback structure for the AGPS interface.
Definition at line
912
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-10-02 UTC."],[],[],null,["# Android Hardware Abstraction Layer: AGpsCallbacks Struct Reference\n\nAGpsCallbacks Struct Reference\n==============================\n\n[Data Fields](#pub-attribs) \nAGpsCallbacks Struct Reference \n\n`\n#include \u003c\n`[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)`\n\u003e\n`\n\n|------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| [agps_status_callback](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) | [status_cb](/reference/hal/struct_a_gps_callbacks#acf5e82c2993f9cf762241a88be5af039) |\n| ||\n| [gps_create_thread](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) | [create_thread_cb](/reference/hal/struct_a_gps_callbacks#af6cb40894e4bd8ff67fa74dae6c09524) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nCallback structure for the AGPS interface.\n\n\nDefinition at line\n[912](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\nField Documentation\n-------------------\n\n\n|--------------------------------------------------------------------------------------------------------------------------------------|\n| [gps_create_thread](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) create_thread_cb |\n\n\nDefinition at line\n[914](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\n|----------------------------------------------------------------------------------------------------------------------------------|\n| [agps_status_callback](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) status_cb |\n\n\nDefinition at line\n[913](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)"]]