Overview | nearby api
NearbyConnectionsisapeer-to-peernetworkingAPIthatallowsappstoeasilydiscover,connectto,andexchangedatawithnearbydevicesinreal-time,regardlessofnetworkconnectivity.TheAPIislocatedinthecom.google.android.gms.nearby.connection[1]package.Someexampleusecases:Collaborativewhiteboard:Jotideasdownwithnearbyparticipantsonasharedvirtualwhiteboard.Localmultiplayergaming:Setupamultiplayergameandinviteotherusersnearbytojoin.Multi-screengaming:Useaphoneortabletasagamecontrollertoplaygamesdisplayedonanearby...
Nearby Connections is a peer-to-peer networking API that allows apps to easily discover, connect to, and exchange data with nearby devices in real-time, regardless of network connectivity. The API is located in the com.google.android.gms.nearby.connection[1] package.
Some example use cases:
Collaborative whiteboard: Jot ideas down with nearby participants on a shared virtual whiteboard. Local multiplayer gaming: Set up a multiplayer game and invite other users nearby to join. Multi-screen gaming: Use a phone or tablet as a game controller to play games displayed on a nearby large-screen Android device, such as Android TV. Offline file transfers: Share photos, videos, or any other type of data quickly and without requiring a network connection. IntroductionNearby Connections enables advertising, discovery, and connections between nearby devices in a fully-offline peer-to-peer manner. Connections between devices are high-bandwidth, low-latency, and fully ...