다음을 통해 공유


WifiP2pManager.IExternalApproverRequestListener.OnAttached(MacAddress) Method

Definition

Called when an approver registration via #addExternalApprover(Channel, MacAddress, ExternalApproverRequestListener) is successful.

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

Parameters

deviceAddress
MacAddress

is the peer MAC address used in the registration.

Attributes

Remarks

Called when an approver registration via #addExternalApprover(Channel, MacAddress, ExternalApproverRequestListener) is successful.

Java documentation for android.net.wifi.p2p.WifiP2pManager.ExternalApproverRequestListener.onAttached(android.net.MacAddress).

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