Język

WifiP2pManager.DiscoveryStateChangedEventArgs.State Property

Definition

Gets the peer discovery state.

public int State { get; }
member this.State : int

Property Value

The discovery state supplied to the constructor. For an Android callback, this is WifiP2pDiscoveryStarted or WifiP2pDiscoveryStopped.

Remarks

This is the state argument of OnDiscoveryStateChanged(Int32).

Applies to