Share via


DiscoverySessionCallback.OnPairingSetupSucceeded(PeerHandle, String) Method

Definition

Callback indicating that a pairing setup process succeeded.

[Android.Runtime.Register("onPairingSetupSucceeded", "(Landroid/net/wifi/aware/PeerHandle;Ljava/lang/String;)V", "GetOnPairingSetupSucceeded_Landroid_net_wifi_aware_PeerHandle_Ljava_lang_String_Handler", ApiSince=34)]
public virtual void OnPairingSetupSucceeded (Android.Net.Wifi.Aware.PeerHandle peerHandle, string alias);
[<Android.Runtime.Register("onPairingSetupSucceeded", "(Landroid/net/wifi/aware/PeerHandle;Ljava/lang/String;)V", "GetOnPairingSetupSucceeded_Landroid_net_wifi_aware_PeerHandle_Ljava_lang_String_Handler", ApiSince=34)>]
abstract member OnPairingSetupSucceeded : Android.Net.Wifi.Aware.PeerHandle * string -> unit
override this.OnPairingSetupSucceeded : 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 setup process succeeded.

Java documentation for android.net.wifi.aware.DiscoverySessionCallback.onPairingSetupSucceeded(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