Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static interface

WifiP2pManager.DnsSdServiceResponseListener

android.net.wifi.p2p.WifiP2pManager.DnsSdServiceResponseListener

Class Overview

Interface for callback invocation when Bonjour service discovery response is received

Summary

Public Methods
abstract void onDnsSdServiceAvailable ( String instanceName, String registrationType, WifiP2pDevice srcDevice)
The requested Bonjour service response is available.

Public Methods

public abstract void onDnsSdServiceAvailable ( String instanceName, String registrationType, WifiP2pDevice srcDevice)

The requested Bonjour service response is available.

This function is invoked when the device with the specified Bonjour registration type returned the instance name.

Parameters
instanceName instance name.
e.g) "MyPrinter".
registrationType
e.g) "_ipp._tcp.local."
srcDevice source device.