语言

IChildSessionCallback.OnOpened(ChildSessionConfiguration) 方法

定义

子会话设置成功时调用。

[Android.Runtime.Register("onOpened", "(Landroid/net/ipsec/ike/ChildSessionConfiguration;)V", "GetOnOpened_Landroid_net_ipsec_ike_ChildSessionConfiguration_Handler:Android.Net.IpSec.Ike.IChildSessionCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]
public void OnOpened(Android.Net.IpSec.Ike.ChildSessionConfiguration sessionConfiguration);
[<Android.Runtime.Register("onOpened", "(Landroid/net/ipsec/ike/ChildSessionConfiguration;)V", "GetOnOpened_Landroid_net_ipsec_ike_ChildSessionConfiguration_Handler:Android.Net.IpSec.Ike.IChildSessionCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)>]
abstract member OnOpened : Android.Net.IpSec.Ike.ChildSessionConfiguration -> unit

参数

sessionConfiguration
ChildSessionConfiguration

ChildSessionConfiguration在创建儿童期间协商的子会话。

特性

注解

子会话设置成功时调用。

在触发创建的 IPsec SA 对后 #onIpSecTransformCreated(IpSecTransform, int) ,将立即调用此方法。

Java文档android.net.ipsec.ike.ChildSessionCallback.onOpened(android.net.ipsec.ike.ChildSessionConfiguration)。

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

适用于