Partager via


WifiP2pManager.AddExternalApprover Method

Definition

[Android.Runtime.Register("addExternalApprover", "(Landroid/net/wifi/p2p/WifiP2pManager$Channel;Landroid/net/MacAddress;Landroid/net/wifi/p2p/WifiP2pManager$ExternalApproverRequestListener;)V", "GetAddExternalApprover_Landroid_net_wifi_p2p_WifiP2pManager_Channel_Landroid_net_MacAddress_Landroid_net_wifi_p2p_WifiP2pManager_ExternalApproverRequestListener_Handler", ApiSince=33)]
[Android.Runtime.RequiresPermission("android.permission.MANAGE_WIFI_NETWORK_SELECTION")]
public virtual void AddExternalApprover (Android.Net.Wifi.P2p.WifiP2pManager.Channel c, Android.Net.MacAddress deviceAddress, Android.Net.Wifi.P2p.WifiP2pManager.IExternalApproverRequestListener listener);
[<Android.Runtime.Register("addExternalApprover", "(Landroid/net/wifi/p2p/WifiP2pManager$Channel;Landroid/net/MacAddress;Landroid/net/wifi/p2p/WifiP2pManager$ExternalApproverRequestListener;)V", "GetAddExternalApprover_Landroid_net_wifi_p2p_WifiP2pManager_Channel_Landroid_net_MacAddress_Landroid_net_wifi_p2p_WifiP2pManager_ExternalApproverRequestListener_Handler", ApiSince=33)>]
[<Android.Runtime.RequiresPermission("android.permission.MANAGE_WIFI_NETWORK_SELECTION")>]
abstract member AddExternalApprover : Android.Net.Wifi.P2p.WifiP2pManager.Channel * Android.Net.MacAddress * Android.Net.Wifi.P2p.WifiP2pManager.IExternalApproverRequestListener -> unit
override this.AddExternalApprover : Android.Net.Wifi.P2p.WifiP2pManager.Channel * Android.Net.MacAddress * Android.Net.Wifi.P2p.WifiP2pManager.IExternalApproverRequestListener -> unit

Parameters

deviceAddress
MacAddress
Attributes

Applies to