ตั้งแต่วันที่ 27 มีนาคม 2025 เป็นต้นไป เราขอแนะนำให้ใช้ android-latest-release
แทน aosp-main
เพื่อสร้างและมีส่วนร่วมใน AOSP โปรดดูข้อมูลเพิ่มเติมที่หัวข้อการเปลี่ยนแปลงใน AOSP
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
การอ้างอิงโครงสร้าง AGpsCallbacks
#include <
gps.h
>
โครงสร้างการเรียกกลับสําหรับอินเทอร์เฟซ AGPS
คําจํากัดความที่บรรทัด
912
ของไฟล์
gps.h
.
คําจํากัดความที่บรรทัด
914
ของไฟล์
gps.h
.
คําจํากัดความที่บรรทัด
913
ของไฟล์
gps.h
.
เอกสารประกอบสำหรับโครงสร้างนี้สร้างขึ้นจากไฟล์ต่อไปนี้
-
hardware/libhardware/include/hardware/
gps.h
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-07-27 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)"]]