to top
Android APIs
Added in API level 16
public static interface

NsdManager.RegistrationListener

android.net.nsd.NsdManager.RegistrationListener

Class Overview

Interface for callback invocation for service registration

Summary

Public Methods
abstract void onRegistrationFailed(NsdServiceInfo serviceInfo, int errorCode)
abstract void onServiceRegistered(NsdServiceInfo serviceInfo)
abstract void onServiceUnregistered(NsdServiceInfo serviceInfo)
abstract void onUnregistrationFailed(NsdServiceInfo serviceInfo, int errorCode)

Public Methods

public abstract void onRegistrationFailed (NsdServiceInfo serviceInfo, int errorCode)

Added in API level 16

public abstract void onServiceRegistered (NsdServiceInfo serviceInfo)

Added in API level 16

public abstract void onServiceUnregistered (NsdServiceInfo serviceInfo)

Added in API level 16

public abstract void onUnregistrationFailed (NsdServiceInfo serviceInfo, int errorCode)

Added in API level 16