Share via


WifiP2pManager.IWifiP2pListener.OnGroupCreated Method

Definition

Called when either group owner or group client has created p2p group successfully.

[Android.Runtime.Register("onGroupCreated", "(Landroid/net/wifi/p2p/WifiP2pInfo;Landroid/net/wifi/p2p/WifiP2pGroup;)V", "GetOnGroupCreated_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 OnGroupCreated (Android.Net.Wifi.P2p.WifiP2pInfo p2pInfo, Android.Net.Wifi.P2p.WifiP2pGroup p2pGroup);
[<Android.Runtime.Register("onGroupCreated", "(Landroid/net/wifi/p2p/WifiP2pInfo;Landroid/net/wifi/p2p/WifiP2pGroup;)V", "GetOnGroupCreated_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 OnGroupCreated : Android.Net.Wifi.P2p.WifiP2pInfo * Android.Net.Wifi.P2p.WifiP2pGroup -> unit
override this.OnGroupCreated : 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 either group owner or group client has created p2p group successfully.

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