Udostępnij za pośrednictwem


DiscoverySession.AcceptPairingRequest Method

Definition

[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

Parameters

requestId
Int32
peerHandle
PeerHandle
peerDeviceAlias
String
cipherSuite
WifiAwareCipherSuite
password
String
Attributes

Applies to