# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

# NsdManager.DiscoveryListener

`public static interface NsdManager.DiscoveryListener`
``

android.net.nsd.NsdManager.DiscoveryListener

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

### onDiscoveryStarted

    public abstract void onDiscoveryStarted (String serviceType)

Parameters
`serviceType` | `String`

### onDiscoveryStopped

    public abstract void onDiscoveryStopped (String serviceType)

Parameters
`serviceType` | `String`

### onServiceFound

    public abstract void onServiceFound (NsdServiceInfo serviceInfo)

Parameters
`serviceInfo` | `NsdServiceInfo`

### onServiceLost

    public abstract void onServiceLost (NsdServiceInfo serviceInfo)

Parameters
`serviceInfo` | `NsdServiceInfo`

### onStartDiscoveryFailed

    public abstract void onStartDiscoveryFailed (String serviceType,
                    int errorCode)

Parameters
`serviceType` | `String`
`errorCode` | `int`

### onStopDiscoveryFailed

    public abstract void onStopDiscoveryFailed (String serviceType,
                    int errorCode)

Parameters
`serviceType` | `String`
`errorCode` | `int`

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*