Stay organized with collections
Save and categorize content based on your preferences.
android.net.wifi.p2p.nsd
Classes
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# android.net.wifi.p2p.nsd\n========================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/net/wifi/p2p/nsd/package-summary \"View this page in Java\")\n\nClasses\n-------\n\n|-------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [WifiP2pDnsSdServiceInfo](/reference/kotlin/android/net/wifi/p2p/nsd/WifiP2pDnsSdServiceInfo) | A class for storing Bonjour service information that is advertised over a Wi-Fi peer-to-peer setup. |\n| [WifiP2pDnsSdServiceRequest](/reference/kotlin/android/net/wifi/p2p/nsd/WifiP2pDnsSdServiceRequest) | A class for creating a Bonjour service discovery request for use with [WifiP2pManager.addServiceRequest](../WifiP2pManager.html#addServiceRequest(android.net.wifi.p2p.WifiP2pManager.Channel,%20android.net.wifi.p2p.nsd.WifiP2pServiceRequest,%20android.net.wifi.p2p.WifiP2pManager.ActionListener)) and [WifiP2pManager.removeServiceRequest](../WifiP2pManager.html#removeServiceRequest(android.net.wifi.p2p.WifiP2pManager.Channel,%20android.net.wifi.p2p.nsd.WifiP2pServiceRequest,%20android.net.wifi.p2p.WifiP2pManager.ActionListener)) {@see WifiP2pManager} {@see WifiP2pServiceRequest} {@see WifiP2pUpnpServiceRequest} |\n| [WifiP2pServiceInfo](/reference/kotlin/android/net/wifi/p2p/nsd/WifiP2pServiceInfo) | A class for storing service information that is advertised over a Wi-Fi peer-to-peer setup |\n| [WifiP2pServiceRequest](/reference/kotlin/android/net/wifi/p2p/nsd/WifiP2pServiceRequest) | A class for creating a service discovery request for use with [WifiP2pManager.addServiceRequest](../WifiP2pManager.html#addServiceRequest(android.net.wifi.p2p.WifiP2pManager.Channel,%20android.net.wifi.p2p.nsd.WifiP2pServiceRequest,%20android.net.wifi.p2p.WifiP2pManager.ActionListener)) and [WifiP2pManager.removeServiceRequest](../WifiP2pManager.html#removeServiceRequest(android.net.wifi.p2p.WifiP2pManager.Channel,%20android.net.wifi.p2p.nsd.WifiP2pServiceRequest,%20android.net.wifi.p2p.WifiP2pManager.ActionListener)) |\n| [WifiP2pUpnpServiceInfo](/reference/kotlin/android/net/wifi/p2p/nsd/WifiP2pUpnpServiceInfo) | A class for storing Upnp service information that is advertised over a Wi-Fi peer-to-peer setup. |\n| [WifiP2pUpnpServiceRequest](/reference/kotlin/android/net/wifi/p2p/nsd/WifiP2pUpnpServiceRequest) | A class for creating a Upnp service discovery request for use with [WifiP2pManager.addServiceRequest](../WifiP2pManager.html#addServiceRequest(android.net.wifi.p2p.WifiP2pManager.Channel,%20android.net.wifi.p2p.nsd.WifiP2pServiceRequest,%20android.net.wifi.p2p.WifiP2pManager.ActionListener)) and [WifiP2pManager.removeServiceRequest](../WifiP2pManager.html#removeServiceRequest(android.net.wifi.p2p.WifiP2pManager.Channel,%20android.net.wifi.p2p.nsd.WifiP2pServiceRequest,%20android.net.wifi.p2p.WifiP2pManager.ActionListener)) {@see WifiP2pManager} {@see WifiP2pServiceRequest} {@see WifiP2pDnsSdServiceRequest} |\n| [WifiP2pUsdBasedServiceConfig](/reference/kotlin/android/net/wifi/p2p/nsd/WifiP2pUsdBasedServiceConfig) | A class for creating a USD based service discovery configuration for use with [WifiP2pServiceInfo](/reference/kotlin/android/net/wifi/p2p/nsd/WifiP2pServiceInfo). |\n| [WifiP2pUsdBasedServiceResponse](/reference/kotlin/android/net/wifi/p2p/nsd/WifiP2pUsdBasedServiceResponse) | A class for a response for USD based service discovery. |"]]