语言

DiscoverySessionCallback.OnBootstrappingSucceeded 方法

定义

重载

名称 说明
OnBootstrappingSucceeded(PeerHandle, AwarePairingBootstrappingMethods)

指示引导方法协商成功的回调。

OnBootstrappingSucceeded(PeerHandle, AwarePairingBootstrappingMethods, Byte[])

指示引导方法协商成功的回调。

OnBootstrappingSucceeded(PeerHandle, AwarePairingBootstrappingMethods)

指示引导方法协商成功的回调。

[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

参数

peerHandle
PeerHandle

引导对等句柄

method
AwarePairingBootstrappingMethods

对等方接受的引导方法

特性

注解

指示引导方法协商成功的回调。 带外启动后续启动

Java文档android.net.wifi.aware.DiscoverySessionCallback.onBootstrappingSucceeded(android.net.wifi.aware.PeerHandle, int)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

OnBootstrappingSucceeded(PeerHandle, AwarePairingBootstrappingMethods, Byte[])

指示引导方法协商成功的回调。

[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

参数

peerHandle
PeerHandle

引导对等句柄

method
AwarePairingBootstrappingMethods

对等方接受的引导方法

message
Byte[]

对等方作为启动请求 InitiateBootstrappingRequest(PeerHandle, AwarePairingBootstrappingMethods, Byte[])的一部分发送的任意字节数组。 当对等方在其引导请求中设置消息时,它仅在发布者端为非 null。 订阅方始终为 null。

特性

注解

指示引导方法协商成功的回调。 带外启动后续启动。

此变体类似于 OnBootstrappingSucceeded(PeerHandle, AwarePairingBootstrappingMethods),但包括请求期间对等方提供的可选服务特定信息。

Android 参考。android.net.wifi.aware.DiscoverySessionCallback.onBootstrappingSucceeded

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于