आस-पास के कनेक्शन
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
आस-पास के कनेक्शन की सुविधा देने वाले एपीआई की मदद से ऐप्लिकेशन, आस-पास मौजूद डिवाइसों के साथ रीयल-टाइम में डेटा खोजने, उससे कनेक्ट करने, और उसे शेयर करने की सुविधा देते हैं. भले ही, नेटवर्क की कनेक्टिविटी कोई भी हो. इसमें ब्लूटूथ, वाई-फ़ाई, और अन्य टेक्नोलॉजी का इस्तेमाल किया जाता है. इसे इन टेक्नोलॉजी की जटिलता को छिपाने के लिए डिज़ाइन किया गया है. इससे, आपका ऐप्लिकेशन आस-पास के डिवाइसों का पता लगाने और उनसे इंटरैक्ट करने के लिए काम कर सकता है.
आपको अपने ऐप्लिकेशन के लिए Nearby कनेक्शन एपीआई चुनना चाहिए, जब:
आप आस-पास के डिवाइस खोजने के बारे में जानना चाहते हैं और इसके लिए आपको इंटरनेट कनेक्टिविटी की ज़रूरत नहीं होती. साथ ही, आपको हर ऑपरेशन पर नेटवर्क दोतरफ़ा यात्रा का शुल्क भी नहीं चुकाना पड़ता.
आपको कॉन्टेंट स्ट्रीम करना है या आस-पास के डिवाइसों के बीच आर्बिट्रेरी पेलोड या फ़ाइलों को ट्रांसमिट करना है.
आपको पीयर-टू-पीयर टेक्नोलॉजी की नई सुविधा का इस्तेमाल करना होगा. जैसे,
वाई-फ़ाई अवेयर
उपलब्ध होने पर.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-08-13 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-08-13 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe Nearby Connections API enables real-time data exchange between devices, regardless of internet access, using Bluetooth, Wi-Fi, and other technologies.\u003c/p\u003e\n"],["\u003cp\u003eThis API simplifies device discovery and interaction by abstracting away underlying technology complexities.\u003c/p\u003e\n"],["\u003cp\u003eChoose this API for scenarios requiring offline device discovery, content streaming, or leveraging peer-to-peer technologies like Wi-Fi Aware.\u003c/p\u003e\n"]]],[],null,["# Nearby Connections\n\nThe [Nearby Connections API](/nearby/connections/overview) allows apps to\ndiscover, connect to, and exchange data with nearby devices in real-time,\nregardless of network connectivity. It uses Bluetooth, Wi-Fi, and other\ntechnologies, and is designed to hide the complexity of these technologies\nso your app can focus on discovering and interacting with nearby devices.\n\nYou should choose the Nearby Connections API for your app when:\n\n- You want to discover nearby devices without requiring Internet connectivity\n and incurring the cost of a network round-trip on each operation.\n\n- You want to stream content or transmit arbitrary payloads or files between\n nearby devices.\n\n- You want to use the latest peer-to-peer technologies such as\n [Wi-Fi Aware](//developer.android.com/guide/topics/connectivity/wifi-aware)\n when available."]]