Skip to content

Most visited

Recently visited

navigation
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
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.