Language

DiscoverySessionCallback.OnBootstrappingSucceeded Method

Definition

Overloads

Name Description
OnBootstrappingSucceeded(PeerHandle, AwarePairingBootstrappingMethods)

Callback indicating that a Bootstrapping method negotiation succeeded.

OnBootstrappingSucceeded(PeerHandle, AwarePairingBootstrappingMethods, Byte[])

Callback indicating that a Bootstrapping method negotiation succeeded.

OnBootstrappingSucceeded(PeerHandle, AwarePairingBootstrappingMethods)

Callback indicating that a Bootstrapping method negotiation succeeded.

[Android.Runtime.Register("onBootstrappingSucceeded", "(Landroid/net/wifi/aware/PeerHandle;I)V", "GetOnBootstrappingSucceeded_Landroid_net_wifi_aware_PeerHandle_IHandler", ApiSince=34)]
public virtual void OnBootstrappingSucceeded(Android.Net.Wifi.Aware.PeerHandle peerHandle, Android.Net.Wifi.Aware.AwarePairingBootstrappingMethods method);
[<Android.Runtime.Register("onBootstrappingSucceeded", "(Landroid/net/wifi/aware/PeerHandle;I)V", "GetOnBootstrappingSucceeded_Landroid_net_wifi_aware_PeerHandle_IHandler", ApiSince=34)>]
abstract member OnBootstrappingSucceeded : Android.Net.Wifi.Aware.PeerHandle * Android.Net.Wifi.Aware.AwarePairingBootstrappingMethods -> unit
override this.OnBootstrappingSucceeded : Android.Net.Wifi.Aware.PeerHandle * Android.Net.Wifi.Aware.AwarePairingBootstrappingMethods -> unit

Parameters

peerHandle
PeerHandle

The bootstrapping peer handle

method
AwarePairingBootstrappingMethods

The bootstrapping method accepted by the peer

Attributes

Remarks

Callback indicating that a Bootstrapping method negotiation succeeded. The follow-up out-of-band bootstrapping can start

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

OnBootstrappingSucceeded(PeerHandle, AwarePairingBootstrappingMethods, Byte[])

Callback indicating that a Bootstrapping method negotiation succeeded.

[Android.Runtime.Register("onBootstrappingSucceeded", "(Landroid/net/wifi/aware/PeerHandle;I[B)V", "GetOnBootstrappingSucceeded_Landroid_net_wifi_aware_PeerHandle_IarrayBHandler", ApiSince=37)]
public virtual void OnBootstrappingSucceeded(Android.Net.Wifi.Aware.PeerHandle peerHandle, Android.Net.Wifi.Aware.AwarePairingBootstrappingMethods method, byte[]? message);
[<Android.Runtime.Register("onBootstrappingSucceeded", "(Landroid/net/wifi/aware/PeerHandle;I[B)V", "GetOnBootstrappingSucceeded_Landroid_net_wifi_aware_PeerHandle_IarrayBHandler", ApiSince=37)>]
abstract member OnBootstrappingSucceeded : Android.Net.Wifi.Aware.PeerHandle * Android.Net.Wifi.Aware.AwarePairingBootstrappingMethods * byte[] -> unit
override this.OnBootstrappingSucceeded : Android.Net.Wifi.Aware.PeerHandle * Android.Net.Wifi.Aware.AwarePairingBootstrappingMethods * byte[] -> unit

Parameters

peerHandle
PeerHandle

The bootstrapping peer handle

method
AwarePairingBootstrappingMethods

The bootstrapping method accepted by the peer

message
Byte[]

An arbitrary byte array sent by the peer as part of its bootstrapping request DiscoverySession#initiateBootstrappingRequest(PeerHandle, int, byte[]). It will be non-null only on publisher side when the peer sets a message in its bootstrapping request. It will always be null on subscriber side.

Attributes

Remarks

Callback indicating that a Bootstrapping method negotiation succeeded. The follow-up out-of-band bootstrapping can start.

This variant is similar to onBootstrappingSucceeded(PeerHandle,int), but includes optional service specific information provided by the peer during the request.

Android reference for android.net.wifi.aware.DiscoverySessionCallback.onBootstrappingSucceeded.

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