ตั้งแต่วันที่ 27 มีนาคม 2025 เป็นต้นไป เราขอแนะนำให้ใช้ android-latest-release
แทน aosp-main
เพื่อสร้างและมีส่วนร่วมใน AOSP โปรดดูข้อมูลเพิ่มเติมที่หัวข้อการเปลี่ยนแปลงใน AOSP
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
การอ้างอิงโครงสร้าง GpsSvStatus
#include <
gps.h
>
โครงสร้างเดิมเพื่อแสดงสถานะ SV เลิกใช้งานแล้วและจะนำออกใน Android รุ่นถัดไป ให้ใช้
GnssSvStatus
instead
คําจํากัดความที่บรรทัด
628
ของไฟล์
gps.h
.
คําจํากัดความที่บรรทัด
634
ของไฟล์
gps.h
.
คําจํากัดความที่บรรทัด
633
ของไฟล์
gps.h
.
คําจํากัดความที่บรรทัด
631
ของไฟล์
gps.h
.
ตั้งค่าเป็น sizeof(GpsSvStatus)
คําจํากัดความที่บรรทัด
630
ของไฟล์
gps.h
.
คําจํากัดความที่บรรทัด
632
ของไฟล์
gps.h
.
uint32_t used_in_fix_mask
|
คําจํากัดความที่บรรทัด
635
ของไฟล์
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: GpsSvStatus Struct Reference\n\nGpsSvStatus Struct Reference\n============================\n\n[Data Fields](#pub-attribs) \nGpsSvStatus 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| size_t | [size](/reference/hal/struct_gps_sv_status#a854352f53b148adc24983a58a1866d66) |\n| ||\n| int | [num_svs](/reference/hal/struct_gps_sv_status#a4b9cf748b0f9da3f93ff1652a7774585) |\n| ||\n| [GpsSvInfo](/reference/hal/struct_gps_sv_info) | [sv_list](/reference/hal/struct_gps_sv_status#a899ed285d6c11426faf08f41327f389d) \\[ [GPS_MAX_SVS](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) \\] |\n| ||\n| uint32_t | [ephemeris_mask](/reference/hal/struct_gps_sv_status#ad883eda5796eb7fb13e078745b2c883b) |\n| ||\n| uint32_t | [almanac_mask](/reference/hal/struct_gps_sv_status#ad5a9d4eaee68474fc698a3f2f7cef348) |\n| ||\n| uint32_t | [used_in_fix_mask](/reference/hal/struct_gps_sv_status#aed2da4befb00a174fb88c9e85eb61028) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nLegacy struct to represents SV status. Deprecated, to be removed in the next Android release. Use\n[GnssSvStatus](/reference/hal/struct_gnss_sv_status)\ninstead.\n\n\nDefinition at line\n[628](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| uint32_t almanac_mask |\n\n\nDefinition at line\n[634](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| uint32_t ephemeris_mask |\n\n\nDefinition at line\n[633](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| int num_svs |\n\n\nDefinition at line\n[631](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| size_t size |\n\n\nset to sizeof(GpsSvStatus)\n\n\nDefinition at line\n[630](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| [GpsSvInfo](/reference/hal/struct_gps_sv_info) sv_list\\[ [GPS_MAX_SVS](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) \\] |\n\n\nDefinition at line\n[632](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| uint32_t used_in_fix_mask |\n\n\nDefinition at line\n[635](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)"]]