Most visited

Recently visited

Added in API level 16

NsdManager.ResolveListener

public static interface NsdManager.ResolveListener

android.net.nsd.NsdManager.ResolveListener


用于服务解析的回调调用接口

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

Hooray!