Langue

DiscoverySessionCallback.OnBootstrappingSucceeded Méthode

Définition

Surcharges

Nom Description
OnBootstrappingSucceeded(PeerHandle, AwarePairingBootstrappingMethods)

Rappel indiquant qu’une négociation de méthode bootstrapping a réussi.

OnBootstrappingSucceeded(PeerHandle, AwarePairingBootstrappingMethods, Byte[])

Rappel indiquant qu’une négociation de méthode bootstrapping a réussi.

OnBootstrappingSucceeded(PeerHandle, AwarePairingBootstrappingMethods)

Rappel indiquant qu’une négociation de méthode bootstrapping a réussi.

[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

Paramètres

peerHandle
PeerHandle

Handle d’homologue de démarrage

method
AwarePairingBootstrappingMethods

Méthode d’amorçage acceptée par l’homologue

Attributs

Remarques

Rappel indiquant qu’une négociation de méthode bootstrapping a réussi. Le suivi de l’amorçage hors bande peut démarrer

Java documentation pour android.net.wifi.aware.DiscoverySessionCallback.onBootstrappingSucceeded(android.net.wifi.aware.PeerHandle, int).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à

OnBootstrappingSucceeded(PeerHandle, AwarePairingBootstrappingMethods, Byte[])

Rappel indiquant qu’une négociation de méthode bootstrapping a réussi.

[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

Paramètres

peerHandle
PeerHandle

Handle d’homologue de démarrage

method
AwarePairingBootstrappingMethods

Méthode d’amorçage acceptée par l’homologue

message
Byte[]

Tableau d’octets arbitraire envoyé par l’homologue dans le cadre de sa demande DiscoverySession#initiateBootstrappingRequest(PeerHandle, int, byte[])de démarrage . Elle n’est pas null uniquement côté serveur de publication lorsque l’homologue définit un message dans sa demande de démarrage. Elle sera toujours null côté abonné.

Attributs

Remarques

Rappel indiquant qu’une négociation de méthode bootstrapping a réussi. Le suivi de l’amorçage hors bande peut démarrer.

Cette variante est similaire à onBootstrappingSucceeded(PeerHandle,int), mais inclut des informations facultatives spécifiques au service fournies par l’homologue pendant la demande.

Référence Android pour android.net.wifi.aware.DiscoverySessionCallback.onBootstrappingSucceeded.

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à