다음을 통해 공유


WifiP2pManager.IWifiP2pListener.OnPeerClientDisconnected Method

Definition

Called to indicate group owner that a group client has disconnected.

[Android.Runtime.Register("onPeerClientDisconnected", "(Landroid/net/wifi/p2p/WifiP2pInfo;Landroid/net/wifi/p2p/WifiP2pGroup;)V", "GetOnPeerClientDisconnected_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 OnPeerClientDisconnected (Android.Net.Wifi.P2p.WifiP2pInfo p2pInfo, Android.Net.Wifi.P2p.WifiP2pGroup p2pGroup);
[<Android.Runtime.Register("onPeerClientDisconnected", "(Landroid/net/wifi/p2p/WifiP2pInfo;Landroid/net/wifi/p2p/WifiP2pGroup;)V", "GetOnPeerClientDisconnected_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 OnPeerClientDisconnected : Android.Net.Wifi.P2p.WifiP2pInfo * Android.Net.Wifi.P2p.WifiP2pGroup -> unit
override this.OnPeerClientDisconnected : 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 to indicate group owner that a group client has disconnected.

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