हमारा सुझाव है कि 27 मार्च, 2025 से AOSP को बनाने और उसमें योगदान देने के लिए, aosp-main
के बजाय android-latest-release
का इस्तेमाल करें. ज़्यादा जानकारी के लिए, AOSP में हुए बदलाव लेख पढ़ें.
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
GpsDebugInterface स्ट्रक्चर का रेफ़रंस
#include <
gps.h
>
डीबग करने के लिए बेहतर इंटरफ़ेस.
परिभाषा,
gps.h
फ़ाइल की लाइन
871
पर दी गई है.
size_t(* get_internal_state)(char *buffer, size_t bufferSize)
|
इस फ़ंक्शन से वह जानकारी मिलनी चाहिए जिसे नेटिव तरीके से लागू करने के लिए, बग रिपोर्ट में शामिल करना है.
परिभाषा,
gps.h
फ़ाइल की लाइन
879
पर दी गई है.
sizeof(GpsDebugInterface) पर सेट करें
परिभाषा,
gps.h
फ़ाइल की लाइन
873
पर दी गई है.
इस स्ट्रक्चर का दस्तावेज़, इस फ़ाइल से जनरेट किया गया था:
-
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: GpsDebugInterface Struct Reference\n\nGpsDebugInterface Struct Reference\n==================================\n\n[Data Fields](#pub-attribs) \nGpsDebugInterface 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_debug_interface#a854352f53b148adc24983a58a1866d66) |\n| ||\n| size_t(\\* | [get_internal_state](/reference/hal/struct_gps_debug_interface#a33a6ef49169231a91454d4d1cd4fbbc8) )(char \\*buffer, size_t bufferSize) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nExtended interface for DEBUG support.\n\n\nDefinition at line\n[871](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| size_t(\\* get_internal_state)(char \\*buffer, size_t bufferSize) |\n\n\nThis function should return any information that the native implementation wishes to include in a bugreport.\n\n\nDefinition at line\n[879](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(GpsDebugInterface)\n\n\nDefinition at line\n[873](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)"]]