Share via


DiscoverySessionCallback.OnPairingSetupRequestReceived Method

Definition

Callback indicating that a pairing request is received from peer.

[Android.Runtime.Register("onPairingSetupRequestReceived", "(Landroid/net/wifi/aware/PeerHandle;I)V", "GetOnPairingSetupRequestReceived_Landroid_net_wifi_aware_PeerHandle_IHandler", ApiSince=34)]
public virtual void OnPairingSetupRequestReceived (Android.Net.Wifi.Aware.PeerHandle peerHandle, int requestId);
[<Android.Runtime.Register("onPairingSetupRequestReceived", "(Landroid/net/wifi/aware/PeerHandle;I)V", "GetOnPairingSetupRequestReceived_Landroid_net_wifi_aware_PeerHandle_IHandler", ApiSince=34)>]
abstract member OnPairingSetupRequestReceived : Android.Net.Wifi.Aware.PeerHandle * int -> unit
override this.OnPairingSetupRequestReceived : Android.Net.Wifi.Aware.PeerHandle * int -> unit

Parameters

peerHandle
PeerHandle

The peer's handle where the request is from

requestId
Int32

The ID of the Aware pairing session

Attributes

Remarks

Callback indicating that a pairing request is received from peer.

Java documentation for android.net.wifi.aware.DiscoverySessionCallback.onPairingSetupRequestReceived(android.net.wifi.aware.PeerHandle, int).

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