public void tearDown() { mNsdManager.unregisterService(mRegistrationListener); mNsdManager.stopServiceDiscovery(mDiscoveryListener); }
public void stopDiscovery() { mNsdManager.stopServiceDiscovery(mDiscoveryListener); discovering = false; }
public void tearDown() { mNsdManager.unregisterService(mRegistrationListener); mNsdManager.stopServiceDiscovery(mDiscoveryListener); }
public void stopDiscovery() { mNsdManager.stopServiceDiscovery(mDiscoveryListener); discovering = false; }