public static interface NsdManager.ResolveListener
android.net.nsd.NsdManager.ResolveListener |
用于服务解析的回调调用接口
Public methods |
|
---|---|
abstract void |
onResolveFailed(NsdServiceInfo serviceInfo, int errorCode) |
abstract void |
onServiceResolved(NsdServiceInfo serviceInfo) |
void onResolveFailed (NsdServiceInfo serviceInfo, int errorCode)
Parameters | |
---|---|
serviceInfo |
NsdServiceInfo
|
errorCode |
int
|
void onServiceResolved (NsdServiceInfo serviceInfo)
Parameters | |
---|---|
serviceInfo |
NsdServiceInfo
|