Condividi tramite


WifiP2pManager.IWifiP2pListener.OnFrequencyChanged Method

Definition

Called when the frequency of a formed group has been changed.

[Android.Runtime.Register("onFrequencyChanged", "(Landroid/net/wifi/p2p/WifiP2pInfo;Landroid/net/wifi/p2p/WifiP2pGroup;)V", "GetOnFrequencyChanged_Landroid_net_wifi_p2p_WifiP2pInfo_Landroid_net_wifi_p2p_WifiP2pGroup_Handler:Android.Net.Wifi.P2p.WifiP2pManager/IWifiP2pListener, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)]
public virtual void OnFrequencyChanged (Android.Net.Wifi.P2p.WifiP2pInfo p2pInfo, Android.Net.Wifi.P2p.WifiP2pGroup p2pGroup);
[<Android.Runtime.Register("onFrequencyChanged", "(Landroid/net/wifi/p2p/WifiP2pInfo;Landroid/net/wifi/p2p/WifiP2pGroup;)V", "GetOnFrequencyChanged_Landroid_net_wifi_p2p_WifiP2pInfo_Landroid_net_wifi_p2p_WifiP2pGroup_Handler:Android.Net.Wifi.P2p.WifiP2pManager/IWifiP2pListener, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)>]
abstract member OnFrequencyChanged : Android.Net.Wifi.P2p.WifiP2pInfo * Android.Net.Wifi.P2p.WifiP2pGroup -> unit
override this.OnFrequencyChanged : Android.Net.Wifi.P2p.WifiP2pInfo * Android.Net.Wifi.P2p.WifiP2pGroup -> unit

Parameters

p2pInfo
WifiP2pInfo

provides the p2p connection info.

p2pGroup
WifiP2pGroup

provides the details of the group.

Attributes

Remarks

Called when the frequency of a formed group has been changed.

Java documentation for android.net.wifi.p2p.WifiP2pManager.WifiP2pListener.onFrequencyChanged(android.net.wifi.p2p.WifiP2pInfo, android.net.wifi.p2p.WifiP2pGroup).

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