WifiP2pManager.CreateGroup Method

Definition

Overloads

CreateGroup(WifiP2pManager+Channel, WifiP2pManager+IActionListener)

Create a p2p group with the current device as the group owner.

CreateGroup(WifiP2pManager+Channel, WifiP2pConfig, WifiP2pManager+IActionListener)

CreateGroup(WifiP2pManager+Channel, WifiP2pManager+IActionListener)

Create a p2p group with the current device as the group owner.

[Android.Runtime.Register("createGroup", "(Landroid/net/wifi/p2p/WifiP2pManager$Channel;Landroid/net/wifi/p2p/WifiP2pManager$ActionListener;)V", "GetCreateGroup_Landroid_net_wifi_p2p_WifiP2pManager_Channel_Landroid_net_wifi_p2p_WifiP2pManager_ActionListener_Handler")]
public virtual void CreateGroup (Android.Net.Wifi.P2p.WifiP2pManager.Channel? channel, Android.Net.Wifi.P2p.WifiP2pManager.IActionListener? listener);
[<Android.Runtime.Register("createGroup", "(Landroid/net/wifi/p2p/WifiP2pManager$Channel;Landroid/net/wifi/p2p/WifiP2pManager$ActionListener;)V", "GetCreateGroup_Landroid_net_wifi_p2p_WifiP2pManager_Channel_Landroid_net_wifi_p2p_WifiP2pManager_ActionListener_Handler")>]
abstract member CreateGroup : Android.Net.Wifi.P2p.WifiP2pManager.Channel * Android.Net.Wifi.P2p.WifiP2pManager.IActionListener -> unit
override this.CreateGroup : Android.Net.Wifi.P2p.WifiP2pManager.Channel * Android.Net.Wifi.P2p.WifiP2pManager.IActionListener -> unit

Parameters

listener
WifiP2pManager.IActionListener

for callbacks on success or failure. Can be null.

Attributes

Remarks

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

CreateGroup(WifiP2pManager+Channel, WifiP2pConfig, WifiP2pManager+IActionListener)

[Android.Runtime.Register("createGroup", "(Landroid/net/wifi/p2p/WifiP2pManager$Channel;Landroid/net/wifi/p2p/WifiP2pConfig;Landroid/net/wifi/p2p/WifiP2pManager$ActionListener;)V", "GetCreateGroup_Landroid_net_wifi_p2p_WifiP2pManager_Channel_Landroid_net_wifi_p2p_WifiP2pConfig_Landroid_net_wifi_p2p_WifiP2pManager_ActionListener_Handler", ApiSince=29)]
public virtual void CreateGroup (Android.Net.Wifi.P2p.WifiP2pManager.Channel channel, Android.Net.Wifi.P2p.WifiP2pConfig? config, Android.Net.Wifi.P2p.WifiP2pManager.IActionListener? listener);
[<Android.Runtime.Register("createGroup", "(Landroid/net/wifi/p2p/WifiP2pManager$Channel;Landroid/net/wifi/p2p/WifiP2pConfig;Landroid/net/wifi/p2p/WifiP2pManager$ActionListener;)V", "GetCreateGroup_Landroid_net_wifi_p2p_WifiP2pManager_Channel_Landroid_net_wifi_p2p_WifiP2pConfig_Landroid_net_wifi_p2p_WifiP2pManager_ActionListener_Handler", ApiSince=29)>]
abstract member CreateGroup : Android.Net.Wifi.P2p.WifiP2pManager.Channel * Android.Net.Wifi.P2p.WifiP2pConfig * Android.Net.Wifi.P2p.WifiP2pManager.IActionListener -> unit
override this.CreateGroup : Android.Net.Wifi.P2p.WifiP2pManager.Channel * Android.Net.Wifi.P2p.WifiP2pConfig * Android.Net.Wifi.P2p.WifiP2pManager.IActionListener -> unit

Parameters

config
WifiP2pConfig
Attributes

Applies to