共用方式為


WifiAwareSession.Subscribe Method

Definition

[Android.Runtime.Register("subscribe", "(Landroid/net/wifi/aware/SubscribeConfig;Landroid/net/wifi/aware/DiscoverySessionCallback;Landroid/os/Handler;)V", "GetSubscribe_Landroid_net_wifi_aware_SubscribeConfig_Landroid_net_wifi_aware_DiscoverySessionCallback_Landroid_os_Handler_Handler", ApiSince=26)]
public virtual void Subscribe (Android.Net.Wifi.Aware.SubscribeConfig subscribeConfig, Android.Net.Wifi.Aware.DiscoverySessionCallback callback, Android.OS.Handler? handler);
[<Android.Runtime.Register("subscribe", "(Landroid/net/wifi/aware/SubscribeConfig;Landroid/net/wifi/aware/DiscoverySessionCallback;Landroid/os/Handler;)V", "GetSubscribe_Landroid_net_wifi_aware_SubscribeConfig_Landroid_net_wifi_aware_DiscoverySessionCallback_Landroid_os_Handler_Handler", ApiSince=26)>]
abstract member Subscribe : Android.Net.Wifi.Aware.SubscribeConfig * Android.Net.Wifi.Aware.DiscoverySessionCallback * Android.OS.Handler -> unit
override this.Subscribe : Android.Net.Wifi.Aware.SubscribeConfig * Android.Net.Wifi.Aware.DiscoverySessionCallback * Android.OS.Handler -> unit

Parameters

subscribeConfig
SubscribeConfig
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