DiscoverySession.AcceptPairingRequest 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
[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
- 屬性