WifiP2pManager.IDiscoveryStateListener.OnDiscoveryStateAvailable Method

Definition

The requested p2p discovery state is available.

[Android.Runtime.Register("onDiscoveryStateAvailable", "(I)V", "GetOnDiscoveryStateAvailable_IHandler:Android.Net.Wifi.P2p.WifiP2pManager/IDiscoveryStateListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)]
public void OnDiscoveryStateAvailable (int state);
[<Android.Runtime.Register("onDiscoveryStateAvailable", "(I)V", "GetOnDiscoveryStateAvailable_IHandler:Android.Net.Wifi.P2p.WifiP2pManager/IDiscoveryStateListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)>]
abstract member OnDiscoveryStateAvailable : int -> unit

Parameters

state
Int32

Wi-Fi p2p discovery state

Attributes

Remarks

The requested p2p discovery state is available.

Java documentation for android.net.wifi.p2p.WifiP2pManager.DiscoveryStateListener.onDiscoveryStateAvailable(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