WifiP2pManager.IExternalApproverRequestListener.OnDetached Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.