Share via


WifiP2pManager.IP2pStateListener.OnP2pStateAvailable(WifiP2pState) Method

Definition

The requested p2p state is available.

[Android.Runtime.Register("onP2pStateAvailable", "(I)V", "GetOnP2pStateAvailable_IHandler:Android.Net.Wifi.P2p.WifiP2pManager/IP2pStateListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)]
public void OnP2pStateAvailable (Android.Net.Wifi.P2p.WifiP2pState state);
[<Android.Runtime.Register("onP2pStateAvailable", "(I)V", "GetOnP2pStateAvailable_IHandler:Android.Net.Wifi.P2p.WifiP2pManager/IP2pStateListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)>]
abstract member OnP2pStateAvailable : Android.Net.Wifi.P2p.WifiP2pState -> unit

Parameters

state
WifiP2pState

Wi-Fi p2p state

Attributes

Remarks

The requested p2p state is available.

Java documentation for android.net.wifi.p2p.WifiP2pManager.P2pStateListener.onP2pStateAvailable(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to