共用方式為


DiscoverySession.CreateNetworkSpecifierPassphrase(PeerHandle, String) Method

Definition

[Android.Runtime.Register("createNetworkSpecifierPassphrase", "(Landroid/net/wifi/aware/PeerHandle;Ljava/lang/String;)Landroid/net/NetworkSpecifier;", "GetCreateNetworkSpecifierPassphrase_Landroid_net_wifi_aware_PeerHandle_Ljava_lang_String_Handler", ApiSince=26)]
public virtual Android.Net.NetworkSpecifier? CreateNetworkSpecifierPassphrase (Android.Net.Wifi.Aware.PeerHandle peerHandle, string passphrase);
[<Android.Runtime.Register("createNetworkSpecifierPassphrase", "(Landroid/net/wifi/aware/PeerHandle;Ljava/lang/String;)Landroid/net/NetworkSpecifier;", "GetCreateNetworkSpecifierPassphrase_Landroid_net_wifi_aware_PeerHandle_Ljava_lang_String_Handler", ApiSince=26)>]
abstract member CreateNetworkSpecifierPassphrase : Android.Net.Wifi.Aware.PeerHandle * string -> Android.Net.NetworkSpecifier
override this.CreateNetworkSpecifierPassphrase : Android.Net.Wifi.Aware.PeerHandle * string -> Android.Net.NetworkSpecifier

Parameters

peerHandle
PeerHandle
passphrase
String

Returns

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