Android.Net.Wifi.P2p.WifiP2pManager.AddServiceRequest Method
Add a service discovery request.

Syntax

[Android.Runtime.Register("addServiceRequest", "(Landroid/net/wifi/p2p/WifiP2pManager$Channel;Landroid/net/wifi/p2p/nsd/WifiP2pServiceRequest;Landroid/net/wifi/p2p/WifiP2pManager$ActionListener;)V", "GetAddServiceRequest_Landroid_net_wifi_p2p_WifiP2pManager_Channel_Landroid_net_wifi_p2p_nsd_WifiP2pServiceRequest_Landroid_net_wifi_p2p_WifiP2pManager_ActionListener_Handler")]
public virtual void AddServiceRequest (WifiP2pManager.Channel c, Android.Net.Wifi.P2p.Nsd.WifiP2pServiceRequest req, WifiP2pManager.IActionListener listener)

Parameters

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.

Remarks

Requirements

Namespace: Android.Net.Wifi.P2p
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16