Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in API level 14

WifiP2pManager.PeerListListener

public static interface WifiP2pManager.PeerListListener

android.net.wifi.p2p.WifiP2pManager.PeerListListener


Interface for callback invocation when peer list is available

Summary

Public methods

abstract void onPeersAvailable(WifiP2pDeviceList peers)

The requested peer list is available

Public methods

onPeersAvailable

added in API level 14
public abstract void onPeersAvailable (WifiP2pDeviceList peers)

The requested peer list is available

Parameters
peers WifiP2pDeviceList: List of available peers