共用方式為


DiscoverySession.AcceptPairingRequest 方法

定義

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

參數

requestId
Int32
peerHandle
PeerHandle
peerDeviceAlias
String
cipherSuite
WifiAwareCipherSuite
password
String
屬性

適用於