You can use a Local Only Hotspot to enable applications on devices connected to
the Wi-Fi hotspot to communicate with each other. The network created by this
method will not have Internet access. Each application can make a single request
for the hotspot, but multiple applications can request the hotspot at the same
time. When multiple applications have successfully registered concurrently, they
share the underlying hotspot.
is called when the hotspot is ready for use.
For more details on using Local Only Hotspots, see