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

WifiP2pManager.DnsSdTxtRecordListener

android.net.wifi.p2p.WifiP2pManager.DnsSdTxtRecordListener

Class Overview

Interface for callback invocation when Bonjour TXT record is available for a service

Summary

Public Methods

? Examples
abstract void onDnsSdTxtRecordAvailable( String fullDomainName, Map< StringString> txtRecordMap, WifiP2pDevice srcDevice)
The requested Bonjour service response is available.

Public Methods

public abstract void onDnsSdTxtRecordAvailable (String fullDomainName, Map<StringString> txtRecordMap, WifiP2pDevice srcDevice)

Added in API level 16

The requested Bonjour service response is available.

This function is invoked when the device with the specified full service domain service returned TXT record.

Parameters
fullDomainName full domain name.
e.g) "MyPrinter._ipp._tcp.local.".
txtRecordMap TXT record data as a map of key/value pairs
srcDevice source device.
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.