Język

WifiP2pManager.ConnectionRequestedEventArgs Constructor

Definition

Initializes event data with the request type, peer configuration, and peer device.

public ConnectionRequestedEventArgs(int requestType, Android.Net.Wifi.P2p.WifiP2pConfig config, Android.Net.Wifi.P2p.WifiP2pDevice device);
new Android.Net.Wifi.P2p.WifiP2pManager.ConnectionRequestedEventArgs : int * Android.Net.Wifi.P2p.WifiP2pConfig * Android.Net.Wifi.P2p.WifiP2pDevice -> Android.Net.Wifi.P2p.WifiP2pManager.ConnectionRequestedEventArgs

Parameters

requestType
Int32

The type of the connection request. The value is one of the ExternalApproverRequestType values.

config
WifiP2pConfig

The peer configuration.

device
WifiP2pDevice

The peer device information.

Remarks

The supplied values are stored in RequestType, Config, and Device.

Applies to