共用方式為


DiscoverySession.InitiatePairingRequest Method

Definition

[Android.Runtime.Register("initiatePairingRequest", "(Landroid/net/wifi/aware/PeerHandle;Ljava/lang/String;ILjava/lang/String;)V", "GetInitiatePairingRequest_Landroid_net_wifi_aware_PeerHandle_Ljava_lang_String_ILjava_lang_String_Handler", ApiSince=34)]
public virtual void InitiatePairingRequest (Android.Net.Wifi.Aware.PeerHandle peerHandle, string peerDeviceAlias, Android.Net.Wifi.Aware.WifiAwareCipherSuite cipherSuite, string? password);
[<Android.Runtime.Register("initiatePairingRequest", "(Landroid/net/wifi/aware/PeerHandle;Ljava/lang/String;ILjava/lang/String;)V", "GetInitiatePairingRequest_Landroid_net_wifi_aware_PeerHandle_Ljava_lang_String_ILjava_lang_String_Handler", ApiSince=34)>]
abstract member InitiatePairingRequest : Android.Net.Wifi.Aware.PeerHandle * string * Android.Net.Wifi.Aware.WifiAwareCipherSuite * string -> unit
override this.InitiatePairingRequest : Android.Net.Wifi.Aware.PeerHandle * string * Android.Net.Wifi.Aware.WifiAwareCipherSuite * string -> unit

Parameters

peerHandle
PeerHandle
peerDeviceAlias
String
cipherSuite
WifiAwareCipherSuite
password
String
Attributes

Applies to