কাছাকাছি সংযোগ
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
Nearby Connections API অ্যাপগুলিকে নেটওয়ার্ক কানেক্টিভিটি নির্বিশেষে রিয়েল-টাইমে আশেপাশের ডিভাইসগুলির সাথে আবিষ্কার, সংযোগ এবং ডেটা বিনিময় করার অনুমতি দেয়৷ এটি ব্লুটুথ, ওয়াই-ফাই এবং অন্যান্য প্রযুক্তি ব্যবহার করে এবং এই প্রযুক্তিগুলির জটিলতা লুকানোর জন্য ডিজাইন করা হয়েছে যাতে আপনার অ্যাপটি কাছাকাছি ডিভাইসগুলি আবিষ্কার এবং ইন্টারঅ্যাক্ট করার উপর ফোকাস করতে পারে৷
আপনার অ্যাপের জন্য কাছাকাছি সংযোগ API নির্বাচন করা উচিত যখন:
আপনি ইন্টারনেট সংযোগের প্রয়োজন ছাড়া এবং প্রতিটি অপারেশনে একটি নেটওয়ার্ক রাউন্ড-ট্রিপের খরচ বহন না করেই কাছাকাছি ডিভাইসগুলি আবিষ্কার করতে চান৷
আপনি বিষয়বস্তু স্ট্রিম করতে চান বা কাছাকাছি ডিভাইসগুলির মধ্যে নির্বিচারে পেলোড বা ফাইল প্রেরণ করতে চান৷
আপনি যখন উপলব্ধ থাকে তখন Wi-Fi সচেতনতার মতো সাম্প্রতিক পিয়ার-টু-পিয়ার প্রযুক্তিগুলি ব্যবহার করতে চান৷
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
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."]]