Searched refs:NsdManager (Results 1 – 9 of 9) sorted by relevance
27 import android.net.nsd.NsdManager;81 private static final int CMD_TO_STRING_COUNT = NsdManager.RESOLVE_SERVICE - BASE + 1;85 sCmdToString[NsdManager.DISCOVER_SERVICES - BASE] = "DISCOVER";86 sCmdToString[NsdManager.STOP_DISCOVERY - BASE] = "STOP-DISCOVER";87 sCmdToString[NsdManager.REGISTER_SERVICE - BASE] = "REGISTER";88 sCmdToString[NsdManager.UNREGISTER_SERVICE - BASE] = "UNREGISTER";89 sCmdToString[NsdManager.RESOLVE_SERVICE - BASE] = "RESOLVE";120 mNsdStateMachine.sendMessage(NsdManager.ENABLE); in registerForNsdSetting()122 mNsdStateMachine.sendMessage(NsdManager.DISABLE); in registerForNsdSetting()188 case NsdManager.DISCOVER_SERVICES: in processMessage()[all …]
125 android.net.nsd.NsdManager.RegistrationListener RegistrationListener} interface. This131 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(String194 , int , NsdManager.DiscoveryListener) discoverServices()}.</p>197 android.net.nsd.NsdManager.DiscoveryListener}. The following snippet shows a204 mDiscoveryListener = new NsdManager.DiscoveryListener() {[all …]
121 public final class NsdManager { class232 public NsdManager(Context context, INsdManager service) { in NsdManager() method in NsdManager
74 import android.net.nsd.NsdManager;357 registerService(Context.NSD_SERVICE, NsdManager.class, in registerService()358 new CachedServiceFetcher<NsdManager>() { in registerService()360 public NsdManager createService(ContextImpl ctx) { in registerService()363 return new NsdManager(ctx.getOuterContext(), service); in registerService()
491 <p>Then you need to implement {@link android.net.nsd.NsdManager.RegistrationListener}492 and pass it to {@link android.net.nsd.NsdManager#registerService registerService()}496 android.net.nsd.NsdManager.DiscoveryListener} and pass it to {@link497 android.net.nsd.NsdManager#discoverServices discoverServices()}.</p>500 android.net.nsd.NsdManager.DiscoveryListener} receives callbacks about services502 {@link android.net.nsd.NsdManager#resolveService resolveService()}, passing it an503 implementation of {@link android.net.nsd.NsdManager.ResolveListener} that receives
1340 android.net.nsd.NsdManager
1410 http://developer.android.com/reference/android/net/nsd/NsdManager.html1718 http://developer.android.com/reference/android/net/nsd/NsdManager.DiscoveryListener.html1719 http://developer.android.com/reference/android/net/nsd/NsdManager.RegistrationListener.html1720 http://developer.android.com/reference/android/net/nsd/NsdManager.ResolveListener.html
18779 public final class NsdManager {18780 …method public void discoverServices(java.lang.String, int, android.net.nsd.NsdManager.DiscoveryLis…18781 …d registerService(android.net.nsd.NsdServiceInfo, int, android.net.nsd.NsdManager.RegistrationList…18782 …method public void resolveService(android.net.nsd.NsdServiceInfo, android.net.nsd.NsdManager.Resol…18783 method public void stopServiceDiscovery(android.net.nsd.NsdManager.DiscoveryListener);18784 method public void unregisterService(android.net.nsd.NsdManager.RegistrationListener);18795 public static abstract interface NsdManager.DiscoveryListener {18804 public static abstract interface NsdManager.RegistrationListener {18811 public static abstract interface NsdManager.ResolveListener {
20356 public final class NsdManager {20357 …method public void discoverServices(java.lang.String, int, android.net.nsd.NsdManager.DiscoveryLis…20358 …d registerService(android.net.nsd.NsdServiceInfo, int, android.net.nsd.NsdManager.RegistrationList…20359 …method public void resolveService(android.net.nsd.NsdServiceInfo, android.net.nsd.NsdManager.Resol…20360 method public void stopServiceDiscovery(android.net.nsd.NsdManager.DiscoveryListener);20361 method public void unregisterService(android.net.nsd.NsdManager.RegistrationListener);20372 public static abstract interface NsdManager.DiscoveryListener {20381 public static abstract interface NsdManager.RegistrationListener {20388 public static abstract interface NsdManager.ResolveListener {