Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in API level 16

NsdManager.ResolveListener

public static interface NsdManager.ResolveListener

android.net.nsd.NsdManager.ResolveListener


Interface for callback invocation for service resolution

Summary

Public methods

abstract void onResolveFailed(NsdServiceInfo serviceInfo, int errorCode)
abstract void onServiceResolved(NsdServiceInfo serviceInfo)

Public methods

onResolveFailed

added in API level 16
public abstract void onResolveFailed (NsdServiceInfo serviceInfo, 
                int errorCode)

Parameters
serviceInfo NsdServiceInfo

errorCode int

onServiceResolved

added in API level 16
public abstract void onServiceResolved (NsdServiceInfo serviceInfo)

Parameters
serviceInfo NsdServiceInfo