WifiP2pManager.P2pStateChangedEventArgs(Int32) Constructor
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.
Initializes event data with the Wi-Fi Direct state.
public P2pStateChangedEventArgs(int state);
new Android.Net.Wifi.P2p.WifiP2pManager.P2pStateChangedEventArgs : int -> Android.Net.Wifi.P2p.WifiP2pManager.P2pStateChangedEventArgs
Parameters
- state
- Int32
The Wi-Fi Direct state. For an Android callback, this is the numeric value of Enabled or Disabled.
Remarks
The supplied value is stored in State.