از 27 مارس 2025، توصیه می کنیم از android-latest-release
به جای aosp-main
برای ساختن و کمک به AOSP استفاده کنید. برای اطلاعات بیشتر، به تغییرات AOSP مراجعه کنید.
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
مرجع ساختار GpsXtraCallbacks
#include < gps.h >
ساختار پاسخ به تماس برای رابط XTRA.
تعریف در خط 852 فایل gps.h.
مستندات این ساختار از فایل زیر تولید شده است:
- hardware/libhardware/include/hardware/ gps.h
محتوا و نمونه کدها در این صفحه مشمول پروانههای توصیفشده در پروانه محتوا هستند. جاوا و OpenJDK علامتهای تجاری یا علامتهای تجاری ثبتشده Oracle و/یا وابستههای آن هستند.
تاریخ آخرین بهروزرسانی 2025-07-29 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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-29 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# Android Hardware Abstraction Layer: GpsXtraCallbacks Struct Reference\n\nGpsXtraCallbacks Struct Reference\n=================================\n\n[Data Fields](#pub-attribs) \nGpsXtraCallbacks 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| [gps_xtra_download_request](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) | [download_request_cb](/reference/hal/struct_gps_xtra_callbacks#a6898af122a45294eac5ac4f43c45d32a) |\n| ||\n| [gps_create_thread](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) | [create_thread_cb](/reference/hal/struct_gps_xtra_callbacks#af6cb40894e4bd8ff67fa74dae6c09524) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nCallback structure for the XTRA interface.\n\n\nDefinition at line\n[852](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[854](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| [gps_xtra_download_request](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) download_request_cb |\n\n\nDefinition at line\n[853](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)"]]