Added in API level 29

WifiP2pManager.DeviceInfoListener


public static interface WifiP2pManager.DeviceInfoListener

android.net.wifi.p2p.WifiP2pManager.DeviceInfoListener


Interface for callback invocation when WifiP2pDevice is available in response to WifiP2pManager.requestDeviceInfo(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.DeviceInfoListener).

Summary

Public methods

abstract void onDeviceInfoAvailable(WifiP2pDevice wifiP2pDevice)

The requested WifiP2pDevice is available.

Public methods

onDeviceInfoAvailable

Added in API level 29
public abstract void onDeviceInfoAvailable (WifiP2pDevice wifiP2pDevice)

The requested WifiP2pDevice is available.

Parameters
wifiP2pDevice WifiP2pDevice: Wi-Fi p2p WifiP2pDevice This value may be null.