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

? Examples
abstract void onRegistrationFailed( NsdServiceInfo serviceInfo, int errorCode)

? Examples
abstract void onServiceRegistered( NsdServiceInfo serviceInfo)

? Examples
abstract void onServiceUnregistered( NsdServiceInfo serviceInfo)

? Examples
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

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.