- c
- is the channel created at WifiP2pManager.Initialize(Android.Content.Context, Android.OS.Looper, Android.OS.Looper)
- req
- is the service discovery request.
- listener
- for callbacks on success or failure. Can be null.
Add a service discovery request.
The function call immediately returns after sending a request to add service discovery request to the framework. The application is notified of a success or failure to add service through listener callbacks NoType:android/net/wifi/p2p/WifiP2pManager$ActionListener;Href=../../../../../reference/android/net/wifi/p2p/WifiP2pManager.ActionListener.html#onSuccess() or NoType:android/net/wifi/p2p/WifiP2pManager$ActionListener;Href=../../../../../reference/android/net/wifi/p2p/WifiP2pManager.ActionListener.html#onFailure(int).
After service discovery request is added, you can initiate service discovery by WifiP2pManager.DiscoverServices(.Channel, .IActionListener).
The added service requests can be cleared with calls to WifiP2pManager.RemoveServiceRequest(.Channel, Android.Net.Wifi.P2p.Nsd.WifiP2pServiceRequest, Android.Net.Wifi.P2p.Nsd.WifiP2pServiceRequest) or WifiP2pManager.ClearServiceRequests(.Channel, .IActionListener).