Share via


DiscoverySessionCallback.OnPairingVerificationSucceed Method

Definition

Callback indicating that a pairing verification process succeeded.

[Android.Runtime.Register("onPairingVerificationSucceed", "(Landroid/net/wifi/aware/PeerHandle;Ljava/lang/String;)V", "GetOnPairingVerificationSucceed_Landroid_net_wifi_aware_PeerHandle_Ljava_lang_String_Handler", ApiSince=34)]
public virtual void OnPairingVerificationSucceed (Android.Net.Wifi.Aware.PeerHandle peerHandle, string alias);
[<Android.Runtime.Register("onPairingVerificationSucceed", "(Landroid/net/wifi/aware/PeerHandle;Ljava/lang/String;)V", "GetOnPairingVerificationSucceed_Landroid_net_wifi_aware_PeerHandle_Ljava_lang_String_Handler", ApiSince=34)>]
abstract member OnPairingVerificationSucceed : Android.Net.Wifi.Aware.PeerHandle * string -> unit
override this.OnPairingVerificationSucceed : Android.Net.Wifi.Aware.PeerHandle * string -> unit

Parameters

peerHandle
PeerHandle

The pairing peer handle

alias
String

This is the paired device alias set by the caller. DiscoverySession#initiatePairingRequest(PeerHandle, String, int, String) or DiscoverySession#acceptPairingRequest(int, PeerHandle, String, int, String)

Attributes

Remarks

Callback indicating that a pairing verification process succeeded.

Java documentation for android.net.wifi.aware.DiscoverySessionCallback.onPairingVerificationSucceed(android.net.wifi.aware.PeerHandle, java.lang.String).

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