Skip to content

Most visited

Recently visited

navigation
Added in API level 16

WifiP2pManager.DnsSdTxtRecordListener

public static interface WifiP2pManager.DnsSdTxtRecordListener

android.net.wifi.p2p.WifiP2pManager.DnsSdTxtRecordListener


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

Summary

Public methods

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

The requested Bonjour service response is available.

Public methods

onDnsSdTxtRecordAvailable

Added in API level 16
void onDnsSdTxtRecordAvailable (String fullDomainName, 
                Map<StringString> txtRecordMap, 
                WifiP2pDevice srcDevice)

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