Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static interface

NsdManager.DiscoveryListener

android.net.nsd.NsdManager.DiscoveryListener

Class Overview

Interface for callback invocation for service discovery

Summary

Public Methods
abstract void onDiscoveryStarted ( String serviceType)
abstract void onDiscoveryStopped ( String serviceType)
abstract void onServiceFound ( NsdServiceInfo serviceInfo)
abstract void onServiceLost ( NsdServiceInfo serviceInfo)
abstract void onStartDiscoveryFailed ( String serviceType, int errorCode)
abstract void onStopDiscoveryFailed ( String serviceType, int errorCode)

Public Methods

public abstract void onDiscoveryStarted ( String serviceType)

public abstract void onDiscoveryStopped ( String serviceType)

public abstract void onServiceFound ( NsdServiceInfo serviceInfo)

public abstract void onServiceLost ( NsdServiceInfo serviceInfo)

public abstract void onStartDiscoveryFailed ( String serviceType, int errorCode)

public abstract void onStopDiscoveryFailed ( String serviceType, int errorCode)