WifiP2pManager.P2pStateChangedEventArgs 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 Wi-Fi Direct state when Wi-Fi Direct is enabled or disabled.
public class WifiP2pManager.P2pStateChangedEventArgs : EventArgs
type WifiP2pManager.P2pStateChangedEventArgs = class
inherit EventArgs
- Inheritance
-
WifiP2pManager.P2pStateChangedEventArgs
Remarks
This .NET event-data type represents the arguments of OnP2pStateChanged(Int32).
See the Android callback contract.
Constructors
| Name | Description |
|---|---|
| WifiP2pManager.P2pStateChangedEventArgs(Int32) |
Initializes event data with the Wi-Fi Direct state. |
Properties
| Name | Description |
|---|---|
| State |
Gets the Wi-Fi Direct state. |