WifiP2pManager.ConnectionRequestedEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides the request type, peer configuration, and peer device for an incoming connection request sent to an external approver.
public class WifiP2pManager.ConnectionRequestedEventArgs : EventArgs
type WifiP2pManager.ConnectionRequestedEventArgs = class
inherit EventArgs
- Inheritance
-
WifiP2pManager.ConnectionRequestedEventArgs
Remarks
This .NET event-data type represents the arguments of OnConnectionRequested(Int32, WifiP2pConfig, WifiP2pDevice).
See the Android callback contract and the .NET event-data generator.
Constructors
| Name | Description |
|---|---|
| WifiP2pManager.ConnectionRequestedEventArgs(Int32, WifiP2pConfig, WifiP2pDevice) |
Initializes event data with the request type, peer configuration, and peer device. |
Properties
| Name | Description |
|---|---|
| Config |
Gets the configuration of the peer that sent the request. |
| Device |
Gets information about the peer device that sent the request. |
| RequestType |
Gets the type of the connection request. |