I am working with NSDManager in android. How this DiscoveryListener can be used to fetch all the devices. Here in documentation given the approach of finding the services but how to implement them in android studio. I had tried something using this docs reference but how to fetch all the list.
I created an arraylist to add the list of devices that is implemented in onServiceFound In onCreate method I also called discovery linstener. I also gave preferences in manifest file. Is there even more to do to get the list?