Udostępnij za pośrednictwem


WifiP2pManager.SetConnectionRequestResult Method

Definition

Overloads

SetConnectionRequestResult(WifiP2pManager+Channel, MacAddress, Int32, WifiP2pManager+IActionListener)
SetConnectionRequestResult(WifiP2pManager+Channel, MacAddress, Int32, String, WifiP2pManager+IActionListener)

SetConnectionRequestResult(WifiP2pManager+Channel, MacAddress, Int32, WifiP2pManager+IActionListener)

[Android.Runtime.Register("setConnectionRequestResult", "(Landroid/net/wifi/p2p/WifiP2pManager$Channel;Landroid/net/MacAddress;ILandroid/net/wifi/p2p/WifiP2pManager$ActionListener;)V", "GetSetConnectionRequestResult_Landroid_net_wifi_p2p_WifiP2pManager_Channel_Landroid_net_MacAddress_ILandroid_net_wifi_p2p_WifiP2pManager_ActionListener_Handler", ApiSince=33)]
[Android.Runtime.RequiresPermission("android.permission.MANAGE_WIFI_NETWORK_SELECTION")]
public virtual void SetConnectionRequestResult (Android.Net.Wifi.P2p.WifiP2pManager.Channel c, Android.Net.MacAddress deviceAddress, int result, Android.Net.Wifi.P2p.WifiP2pManager.IActionListener? listener);
[<Android.Runtime.Register("setConnectionRequestResult", "(Landroid/net/wifi/p2p/WifiP2pManager$Channel;Landroid/net/MacAddress;ILandroid/net/wifi/p2p/WifiP2pManager$ActionListener;)V", "GetSetConnectionRequestResult_Landroid_net_wifi_p2p_WifiP2pManager_Channel_Landroid_net_MacAddress_ILandroid_net_wifi_p2p_WifiP2pManager_ActionListener_Handler", ApiSince=33)>]
[<Android.Runtime.RequiresPermission("android.permission.MANAGE_WIFI_NETWORK_SELECTION")>]
abstract member SetConnectionRequestResult : Android.Net.Wifi.P2p.WifiP2pManager.Channel * Android.Net.MacAddress * int * Android.Net.Wifi.P2p.WifiP2pManager.IActionListener -> unit
override this.SetConnectionRequestResult : Android.Net.Wifi.P2p.WifiP2pManager.Channel * Android.Net.MacAddress * int * Android.Net.Wifi.P2p.WifiP2pManager.IActionListener -> unit

Parameters

deviceAddress
MacAddress
result
Int32
Attributes

Applies to

SetConnectionRequestResult(WifiP2pManager+Channel, MacAddress, Int32, String, WifiP2pManager+IActionListener)

[Android.Runtime.Register("setConnectionRequestResult", "(Landroid/net/wifi/p2p/WifiP2pManager$Channel;Landroid/net/MacAddress;ILjava/lang/String;Landroid/net/wifi/p2p/WifiP2pManager$ActionListener;)V", "GetSetConnectionRequestResult_Landroid_net_wifi_p2p_WifiP2pManager_Channel_Landroid_net_MacAddress_ILjava_lang_String_Landroid_net_wifi_p2p_WifiP2pManager_ActionListener_Handler", ApiSince=33)]
[Android.Runtime.RequiresPermission("android.permission.MANAGE_WIFI_NETWORK_SELECTION")]
public virtual void SetConnectionRequestResult (Android.Net.Wifi.P2p.WifiP2pManager.Channel c, Android.Net.MacAddress deviceAddress, int result, string? pin, Android.Net.Wifi.P2p.WifiP2pManager.IActionListener? listener);
[<Android.Runtime.Register("setConnectionRequestResult", "(Landroid/net/wifi/p2p/WifiP2pManager$Channel;Landroid/net/MacAddress;ILjava/lang/String;Landroid/net/wifi/p2p/WifiP2pManager$ActionListener;)V", "GetSetConnectionRequestResult_Landroid_net_wifi_p2p_WifiP2pManager_Channel_Landroid_net_MacAddress_ILjava_lang_String_Landroid_net_wifi_p2p_WifiP2pManager_ActionListener_Handler", ApiSince=33)>]
[<Android.Runtime.RequiresPermission("android.permission.MANAGE_WIFI_NETWORK_SELECTION")>]
abstract member SetConnectionRequestResult : Android.Net.Wifi.P2p.WifiP2pManager.Channel * Android.Net.MacAddress * int * string * Android.Net.Wifi.P2p.WifiP2pManager.IActionListener -> unit
override this.SetConnectionRequestResult : Android.Net.Wifi.P2p.WifiP2pManager.Channel * Android.Net.MacAddress * int * string * Android.Net.Wifi.P2p.WifiP2pManager.IActionListener -> unit

Parameters

deviceAddress
MacAddress
result
Int32
pin
String
Attributes

Applies to