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
void onResolveFailed (NsdServiceInfo serviceInfo, 
                int errorCode)

Parameters
serviceInfo NsdServiceInfo

errorCode int

onServiceResolved

added in API level 16
void onServiceResolved (NsdServiceInfo serviceInfo)

Parameters
serviceInfo NsdServiceInfo