Lines Matching refs:NsdManager
125 android.net.nsd.NsdManager.RegistrationListener RegistrationListener} interface. This
131 mRegistrationListener = new NsdManager.RegistrationListener() {
149 // NsdManager.unregisterService() and pass in this listener.
161 {@link android.net.nsd.NsdManager#registerService registerService()}.
166 android.net.nsd.NsdManager.RegistrationListener#onServiceRegistered(NsdServiceInfo)
179 serviceInfo, NsdManager.PROTOCOL_DNS_SD, mRegistrationListener);
193 API call to {@link android.net.nsd.NsdManager#discoverServices(String
194 , int , NsdManager.DiscoveryListener) discoverServices()}.</p>
197 android.net.nsd.NsdManager.DiscoveryListener}. The following snippet shows a
204 mDiscoveryListener = new NsdManager.DiscoveryListener() {
276 <p>After setting up the listener, call {@link android.net.nsd.NsdManager#discoverServices(String, i…
277 NsdManager.DiscoveryListener) discoverServices()}, passing in the service type
283 SERVICE_TYPE, NsdManager.PROTOCOL_DNS_SD, mDiscoveryListener);
290 {@link android.net.nsd.NsdManager#resolveService resolveService()} method.
291 Implement a {@link android.net.nsd.NsdManager.ResolveListener} to pass into this
297 mResolveListener = new NsdManager.ResolveListener() {