Added in API level 16
    DnsSdTxtRecordListener
interface DnsSdTxtRecordListener
| android.net.wifi.p2p.WifiP2pManager.DnsSdTxtRecordListener | 
Interface for callback invocation when Bonjour TXT record is available for a service
Summary
| Public methods | |
|---|---|
| abstract Unit | onDnsSdTxtRecordAvailable(fullDomainName: String!, txtRecordMap: MutableMap<String!, String!>!, srcDevice: WifiP2pDevice!)The requested Bonjour service response is available. | 
Public methods
onDnsSdTxtRecordAvailable
Added in API level 16
      abstract fun onDnsSdTxtRecordAvailable(
fullDomainName: String!,
txtRecordMap: MutableMap<String!, String!>!,
srcDevice: WifiP2pDevice!
): Unit
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 | MutableMap<String!, String!>!: TXT record data as a map of key/value pairs | 
| srcDevice | WifiP2pDevice!: source device. | 
