WifiP2pManager.IExternalApproverRequestListener.OnDetached Method

Definition

Called when an approver registration via #addExternalApprover(Channel, MacAddress, ExternalApproverRequestListener) has failed.

[Android.Runtime.Register("onDetached", "(Landroid/net/MacAddress;I)V", "GetOnDetached_Landroid_net_MacAddress_IHandler:Android.Net.Wifi.P2p.WifiP2pManager/IExternalApproverRequestListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)]
public void OnDetached (Android.Net.MacAddress deviceAddress, int reason);
[<Android.Runtime.Register("onDetached", "(Landroid/net/MacAddress;I)V", "GetOnDetached_Landroid_net_MacAddress_IHandler:Android.Net.Wifi.P2p.WifiP2pManager/IExternalApproverRequestListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)>]
abstract member OnDetached : Android.Net.MacAddress * int -> unit

Parameters

deviceAddress
MacAddress

is the peer MAC address used in the registration.

reason
Int32

is the failure reason.

Attributes

Remarks

Called when an approver registration via #addExternalApprover(Channel, MacAddress, ExternalApproverRequestListener) has failed.

Java documentation for android.net.wifi.p2p.WifiP2pManager.ExternalApproverRequestListener.onDetached(android.net.MacAddress, int).

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