共用方式為


WifiAwareNetworkSpecifier.Builder 建構函式

定義

多載

WifiAwareNetworkSpecifier.Builder(PublishDiscoverySession)
WifiAwareNetworkSpecifier.Builder(DiscoverySession, PeerHandle)

WifiAwareNetworkSpecifier.Builder(PublishDiscoverySession)

[Android.Runtime.Register(".ctor", "(Landroid/net/wifi/aware/PublishDiscoverySession;)V", "", ApiSince=31)]
public Builder (Android.Net.Wifi.Aware.PublishDiscoverySession publishDiscoverySession);
[<Android.Runtime.Register(".ctor", "(Landroid/net/wifi/aware/PublishDiscoverySession;)V", "", ApiSince=31)>]
new Android.Net.Wifi.Aware.WifiAwareNetworkSpecifier.Builder : Android.Net.Wifi.Aware.PublishDiscoverySession -> Android.Net.Wifi.Aware.WifiAwareNetworkSpecifier.Builder

參數

publishDiscoverySession
PublishDiscoverySession
屬性

適用於

WifiAwareNetworkSpecifier.Builder(DiscoverySession, PeerHandle)

[Android.Runtime.Register(".ctor", "(Landroid/net/wifi/aware/DiscoverySession;Landroid/net/wifi/aware/PeerHandle;)V", "", ApiSince=29)]
public Builder (Android.Net.Wifi.Aware.DiscoverySession discoverySession, Android.Net.Wifi.Aware.PeerHandle peerHandle);
[<Android.Runtime.Register(".ctor", "(Landroid/net/wifi/aware/DiscoverySession;Landroid/net/wifi/aware/PeerHandle;)V", "", ApiSince=29)>]
new Android.Net.Wifi.Aware.WifiAwareNetworkSpecifier.Builder : Android.Net.Wifi.Aware.DiscoverySession * Android.Net.Wifi.Aware.PeerHandle -> Android.Net.Wifi.Aware.WifiAwareNetworkSpecifier.Builder

參數

discoverySession
DiscoverySession
peerHandle
PeerHandle
屬性

適用於