Language

WifiP2pManager.P2pStateChangedEventArgs(Int32) Constructor

Definition

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.

Applies to