Freigeben über


WifiAwareManager.Attach Method

Definition

Overloads

Attach(AttachCallback, Handler)
Attach(AttachCallback, IdentityChangedListener, Handler)

Attach(AttachCallback, Handler)

[Android.Runtime.Register("attach", "(Landroid/net/wifi/aware/AttachCallback;Landroid/os/Handler;)V", "GetAttach_Landroid_net_wifi_aware_AttachCallback_Landroid_os_Handler_Handler", ApiSince=26)]
public virtual void Attach (Android.Net.Wifi.Aware.AttachCallback attachCallback, Android.OS.Handler? handler);
[<Android.Runtime.Register("attach", "(Landroid/net/wifi/aware/AttachCallback;Landroid/os/Handler;)V", "GetAttach_Landroid_net_wifi_aware_AttachCallback_Landroid_os_Handler_Handler", ApiSince=26)>]
abstract member Attach : Android.Net.Wifi.Aware.AttachCallback * Android.OS.Handler -> unit
override this.Attach : Android.Net.Wifi.Aware.AttachCallback * Android.OS.Handler -> unit

Parameters

attachCallback
AttachCallback
handler
Handler
Attributes

Remarks

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

Attach(AttachCallback, IdentityChangedListener, Handler)

[Android.Runtime.Register("attach", "(Landroid/net/wifi/aware/AttachCallback;Landroid/net/wifi/aware/IdentityChangedListener;Landroid/os/Handler;)V", "GetAttach_Landroid_net_wifi_aware_AttachCallback_Landroid_net_wifi_aware_IdentityChangedListener_Landroid_os_Handler_Handler", ApiSince=26)]
public virtual void Attach (Android.Net.Wifi.Aware.AttachCallback attachCallback, Android.Net.Wifi.Aware.IdentityChangedListener identityChangedListener, Android.OS.Handler? handler);
[<Android.Runtime.Register("attach", "(Landroid/net/wifi/aware/AttachCallback;Landroid/net/wifi/aware/IdentityChangedListener;Landroid/os/Handler;)V", "GetAttach_Landroid_net_wifi_aware_AttachCallback_Landroid_net_wifi_aware_IdentityChangedListener_Landroid_os_Handler_Handler", ApiSince=26)>]
abstract member Attach : Android.Net.Wifi.Aware.AttachCallback * Android.Net.Wifi.Aware.IdentityChangedListener * Android.OS.Handler -> unit
override this.Attach : Android.Net.Wifi.Aware.AttachCallback * Android.Net.Wifi.Aware.IdentityChangedListener * Android.OS.Handler -> unit

Parameters

attachCallback
AttachCallback
identityChangedListener
IdentityChangedListener
handler
Handler
Attributes

Remarks

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