Share via


WifiP2pManager.IWifiP2pListener.OnPeerListChanged(WifiP2pDeviceList) Method

Definition

Called when the available peer list has changed.

[Android.Runtime.Register("onPeerListChanged", "(Landroid/net/wifi/p2p/WifiP2pDeviceList;)V", "GetOnPeerListChanged_Landroid_net_wifi_p2p_WifiP2pDeviceList_Handler:Android.Net.Wifi.P2p.WifiP2pManager/IWifiP2pListener, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)]
public virtual void OnPeerListChanged (Android.Net.Wifi.P2p.WifiP2pDeviceList p2pDeviceList);
[<Android.Runtime.Register("onPeerListChanged", "(Landroid/net/wifi/p2p/WifiP2pDeviceList;)V", "GetOnPeerListChanged_Landroid_net_wifi_p2p_WifiP2pDeviceList_Handler:Android.Net.Wifi.P2p.WifiP2pManager/IWifiP2pListener, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)>]
abstract member OnPeerListChanged : Android.Net.Wifi.P2p.WifiP2pDeviceList -> unit
override this.OnPeerListChanged : Android.Net.Wifi.P2p.WifiP2pDeviceList -> unit

Parameters

p2pDeviceList
WifiP2pDeviceList

provides the full list of current peers.

Attributes

Remarks

Called when the available peer list has changed. This can be sent as a result of peers being found, lost or updated.

Java documentation for android.net.wifi.p2p.WifiP2pManager.WifiP2pListener.onPeerListChanged(android.net.wifi.p2p.WifiP2pDeviceList).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to