Share via


WifiP2pManager.IWifiP2pListener.OnListenStateChanged(Int32) Method

Definition

Called when peer listen has either started or stopped.

[Android.Runtime.Register("onListenStateChanged", "(I)V", "GetOnListenStateChanged_IHandler:Android.Net.Wifi.P2p.WifiP2pManager/IWifiP2pListener, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)]
public virtual void OnListenStateChanged (int state);
[<Android.Runtime.Register("onListenStateChanged", "(I)V", "GetOnListenStateChanged_IHandler:Android.Net.Wifi.P2p.WifiP2pManager/IWifiP2pListener, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)>]
abstract member OnListenStateChanged : int -> unit
override this.OnListenStateChanged : int -> unit

Parameters

state
Int32

indicates whether listen has started or stopped.

Attributes

Remarks

Called when peer listen has either started or stopped.

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