Added in API level 14

PeerListListener

interface PeerListListener
android.net.wifi.p2p.WifiP2pManager.PeerListListener

Interface for callback invocation when peer list is available

Summary

Public methods
abstract Unit

The requested peer list is available

Public methods

onPeersAvailable

Added in API level 14
abstract fun onPeersAvailable(peers: WifiP2pDeviceList!): Unit

The requested peer list is available

Parameters
peers WifiP2pDeviceList!: List of available peers