החל מ-27 במרץ 2025, מומלץ להשתמש ב-android-latest-release
במקום ב-aosp-main
כדי ליצור תרומות ל-AOSP. מידע נוסף זמין במאמר שינויים ב-AOSP.
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הפניה ל-struct של GpsSvInfo
#include <
gps.h
>
מבנה מדור קודם שמייצג את פרטי ה-SV. הוצא משימוש, והוא יוסר במהדורת Android הבאה. במקום זאת, צריך להשתמש ב-
GnssSvInfo
.
ההגדרה מופיעה בשורה
562
בקובץ
gps.h
.
כיוון צפון (azimuth) של צף
|
האזימוט של SV במעלות.
ההגדרה מופיעה בשורה
572
בקובץ
gps.h
.
הגובה של SV במעלות.
ההגדרה מופיעה בשורה
570
בקובץ
gps.h
.
מספר אקראי לכאורה ל-SV.
ההגדרה מופיעה בשורה
566
בקובץ
gps.h
.
מוגדר ל-sizeof(GpsSvInfo)
ההגדרה מופיעה בשורה
564
בקובץ
gps.h
.
יחס אות לרעש.
ההגדרה מופיעה בשורה
568
בקובץ
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: GpsSvInfo Struct Reference\n\nGpsSvInfo Struct Reference\n==========================\n\n[Data Fields](#pub-attribs) \nGpsSvInfo 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_info#a854352f53b148adc24983a58a1866d66) |\n| ||\n| int | [prn](/reference/hal/struct_gps_sv_info#a1a20174966be60ad4e9d2c1c00a75bf9) |\n| ||\n| float | [snr](/reference/hal/struct_gps_sv_info#a2f13c0d577ea505db647b3e3a8600831) |\n| ||\n| float | [elevation](/reference/hal/struct_gps_sv_info#a1c921d7f2f6a29b15d709c49d2df1797) |\n| ||\n| float | [azimuth](/reference/hal/struct_gps_sv_info#a01b03ebfa7d0a95760e743f611fecbc5) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nLegacy struct to represents SV information. Deprecated, to be removed in the next Android release. Use\n[GnssSvInfo](/reference/hal/struct_gnss_sv_info)\ninstead.\n\n\nDefinition at line\n[562](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| float azimuth |\n\n\nAzimuth of SV in degrees.\n\n\nDefinition at line\n[572](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| float elevation |\n\n\nElevation of SV in degrees.\n\n\nDefinition at line\n[570](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 prn |\n\n\nPseudo-random number for the SV.\n\n\nDefinition at line\n[566](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(GpsSvInfo)\n\n\nDefinition at line\n[564](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| float snr |\n\n\nSignal to noise ratio.\n\n\nDefinition at line\n[568](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)"]]