Condividi tramite


IChildSessionCallback.OnClosed Method

Definition

Called when the Child Session is closed.

[Android.Runtime.Register("onClosed", "()V", "GetOnClosedHandler:Android.Net.IpSec.Ike.IChildSessionCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]
public void OnClosed ();
[<Android.Runtime.Register("onClosed", "()V", "GetOnClosedHandler:Android.Net.IpSec.Ike.IChildSessionCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)>]
abstract member OnClosed : unit -> unit
Attributes

Remarks

Called when the Child Session is closed.

This method will be called immediately after #onIpSecTransformDeleted(IpSecTransform, int) for the deleted IPsec SA pair is fired.

When the closure is caused by a local, fatal error, #onClosedWithException(IkeException) will be fired instead of this method.

Java documentation for android.net.ipsec.ike.ChildSessionCallback.onClosed().

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