android.net.wifi.p2p


Interfaces

ActionListener

Interface for callback invocation on an application action

ChannelListener

Interface for callback invocation when framework channel is lost

ConnectionInfoListener

Interface for callback invocation when connection info is available

DeviceInfoListener

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

DiscoveryStateListener

Interface for callback invocation when p2p state is available in response to requestDiscoveryState.

DnsSdServiceResponseListener

Interface for callback invocation when Bonjour service discovery response is received

DnsSdTxtRecordListener

Interface for callback invocation when Bonjour TXT record is available for a service

ExternalApproverRequestListener

Interface for callback invocation when an incoming request is received.

GroupInfoListener

Interface for callback invocation when group info is available

NetworkInfoListener

Interface for callback invocation when android.net.NetworkInfo is available in response to requestNetworkInfo.

P2pStateListener

Interface for callback invocation when p2p state is available in response to requestP2pState.

PeerListListener

Interface for callback invocation when peer list is available

ServiceResponseListener

Interface for callback invocation when service discovery response other than Upnp or Bonjour is received

UpnpServiceResponseListener

Interface for callback invocation when upnp service discovery response is received

WifiP2pListener

Interface used to listen to Wi-Fi p2p various changes such as device state change, discovery started/stopped, connection change, etc.

Classes

WifiP2pConfig

A class representing a Wi-Fi P2p configuration for setting up a connection {@see WifiP2pManager}

WifiP2pDevice

A class representing a Wi-Fi p2p device Note that the operations are not thread safe {@see WifiP2pManager}

WifiP2pDeviceList

A class representing a Wi-Fi P2p device list.

WifiP2pDiscoveryConfig

A class representing a Wi-Fi P2P scan configuration for setting up discovery.

WifiP2pGroup

A class representing a Wi-Fi P2p group.

WifiP2pInfo

A class representing connection information about a Wi-Fi p2p group {@see WifiP2pManager}

WifiP2pManager

This class provides the API for managing Wi-Fi peer-to-peer connectivity.

WifiP2pWfdInfo

A class representing Wifi Display information for a device.