हमारा सुझाव है कि 27 मार्च, 2025 से AOSP को बनाने और उसमें योगदान देने के लिए, aosp-main
के बजाय android-latest-release
का इस्तेमाल करें. ज़्यादा जानकारी के लिए, AOSP में हुए बदलाव लेख पढ़ें.
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
FlpDeviceContextInterface स्ट्रक्चर का रेफ़रंस
#include <
fused_location.h
>
डिवाइस के कॉन्टेक्स्ट से जुड़ी सहायता के लिए बेहतर इंटरफ़ेस.
परिभाषा,
fused_location.h
की फ़ाइल के
507
पंक्ति पर दी गई है.
int(* inject_device_context)(uint32_t enabledMask)
|
यह FLP सबसिस्टम में डीबग डेटा इंजेक्ट करता है. सही होने पर 0 और गड़बड़ी होने पर -1 दिखाता है.
परिभाषा,
fused_location.h
फ़ाइल की लाइन
515
पर दी गई है.
इस स्ट्रक्चर का दस्तावेज़, इस फ़ाइल से जनरेट किया गया था:
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. 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: FlpDeviceContextInterface Struct Reference\n\nFlpDeviceContextInterface Struct Reference\n==========================================\n\n[Data Fields](#pub-attribs) \nFlpDeviceContextInterface Struct Reference \n\n`\n#include \u003c\n`[fused_location.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)`\n\u003e\n`\n\n|--------|---------------------------------------------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| size_t | [size](/reference/hal/struct_flp_device_context_interface#a854352f53b148adc24983a58a1866d66) |\n| ||\n| int(\\* | [inject_device_context](/reference/hal/struct_flp_device_context_interface#a774313ab08b82cf8e7c98c923ff962c6) )(uint32_t enabledMask) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nExtended interface for device context support.\n\n\nDefinition at line\n[507](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\nof file\n[fused_location.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\n.\n\nField Documentation\n-------------------\n\n\n|-----------------------------------------------------|\n| int(\\* inject_device_context)(uint32_t enabledMask) |\n\n\nInjects debug data into the FLP subsystem. Return 0 on success, -1 on error.\n\n\nDefinition at line\n[515](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\nof file\n[fused_location.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\n.\n\n|-------------|\n| size_t size |\n\n\nset to sizeof(FlpDeviceContextInterface)\n\n\nDefinition at line\n[509](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\nof file\n[fused_location.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [fused_location.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)"]]