Android.Net.Wifi.P2p.WifiP2pManager.RequestPeers Method
Request the current list of peers.

Syntax

[Android.Runtime.Register("requestPeers", "(Landroid/net/wifi/p2p/WifiP2pManager$Channel;Landroid/net/wifi/p2p/WifiP2pManager$PeerListListener;)V", "GetRequestPeers_Landroid_net_wifi_p2p_WifiP2pManager_Channel_Landroid_net_wifi_p2p_WifiP2pManager_PeerListListener_Handler")]
public virtual void RequestPeers (WifiP2pManager.Channel c, WifiP2pManager.IPeerListListener listener)

Parameters

c
is the channel created at WifiP2pManager.Initialize(Android.Content.Context, Android.OS.Looper, Android.OS.Looper)
listener
for callback when peer list is available. Can be null.

Remarks

Request the current list of peers.

[Android Documentation]

Requirements

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