Sdílet prostřednictvím


Android.Net.Wifi.P2p Namespace

Provides classes to create peer-to-peer (P2P) connections with Wi-Fi Direct.

Classes

WifiP2pConfig
WifiP2pConfig.Builder
WifiP2pConfig.InterfaceConsts
WifiP2pDevice
WifiP2pDevice.InterfaceConsts
WifiP2pDeviceList

A class representing a Wi-Fi P2p device list.

WifiP2pDeviceList.InterfaceConsts
WifiP2pGroup

A class representing a Wi-Fi P2p group.

WifiP2pGroup.InterfaceConsts
WifiP2pInfo
WifiP2pInfo.InterfaceConsts
WifiP2pManager

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

WifiP2pManager.AttachedEventArgs
WifiP2pManager.Channel

A channel that connects the application to the Wifi p2p framework.

WifiP2pManager.ConnectionInfoEventArgs
WifiP2pManager.ConnectionRequestedEventArgs
WifiP2pManager.DetachedEventArgs
WifiP2pManager.DeviceInfoEventArgs
WifiP2pManager.DiscoveryStateEventArgs
WifiP2pManager.DnsSdServiceResponseEventArgs
WifiP2pManager.DnsSdTxtRecordEventArgs
WifiP2pManager.FailureEventArgs
WifiP2pManager.GroupInfoEventArgs
WifiP2pManager.NetworkInfoEventArgs
WifiP2pManager.P2pStateEventArgs
WifiP2pManager.PeerListEventArgs
WifiP2pManager.PinGeneratedEventArgs
WifiP2pManager.ServiceResponseEventArgs
WifiP2pManager.UpnpServiceResponseEventArgs
WifiP2pWfdInfo
WifiP2pWfdInfo.InterfaceConsts

Interfaces

WifiP2pManager.IActionListener

Interface for callback invocation on an application action

WifiP2pManager.IChannelListener

Interface for callback invocation when framework channel is lost

WifiP2pManager.IConnectionInfoListener

Interface for callback invocation when connection info is available

WifiP2pManager.IDeviceInfoListener
WifiP2pManager.IDiscoveryStateListener
WifiP2pManager.IDnsSdServiceResponseListener

Interface for callback invocation when Bonjour service discovery response is received

WifiP2pManager.IDnsSdTxtRecordListener

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

WifiP2pManager.IExternalApproverRequestListener
WifiP2pManager.IGroupInfoListener

Interface for callback invocation when group info is available

WifiP2pManager.INetworkInfoListener
WifiP2pManager.IP2pStateListener
WifiP2pManager.IPeerListListener

Interface for callback invocation when peer list is available

WifiP2pManager.IServiceResponseListener
WifiP2pManager.IUpnpServiceResponseListener

Interface for callback invocation when upnp service discovery response is received

Enums

ApproverDetachReason
ConnectionRequestType
ExternalApproverRequestType
Frequency
GroupClientIPProvisioningMode
GroupNetworkIdType
GroupOwnerIntent
WfdInfoDeviceInfo
WfdInfoDeviceType
WfdInfoPreferredConnectivity
WifiP2pDeviceState

Enumerates values returned by several types.

WifiP2pFailureReason
WifiP2pListenState
WifiP2pState

Enumerates values returned by several types.