Added in API level 31

ChildSessionConfiguration

class ChildSessionConfiguration
kotlin.Any
   ↳ android.net.ipsec.ike.ChildSessionConfiguration

ChildSessionConfiguration represents the negotiated configuration for a Child Session.

Configurations include traffic selectors and internal network information.

Summary

Nested classes

This class can be used to incrementally construct a ChildSessionConfiguration.

Public methods
MutableList<IkeTrafficSelector!>

Returns the negotiated inbound traffic selectors.

MutableList<IkeTrafficSelector!>

Returns the negotiated outbound traffic selectors.

Public methods

getInboundTrafficSelectors

Added in API level 31
fun getInboundTrafficSelectors(): MutableList<IkeTrafficSelector!>

Returns the negotiated inbound traffic selectors.

Only inbound traffic within the range is acceptable to the Child Session.

The Android platform does not support port-based routing. Port ranges of traffic selectors are only informational.

Return
MutableList<IkeTrafficSelector!> the inbound traffic selectors. This value cannot be null.

getOutboundTrafficSelectors

Added in API level 31
fun getOutboundTrafficSelectors(): MutableList<IkeTrafficSelector!>

Returns the negotiated outbound traffic selectors.

Only outbound traffic within the range is acceptable to the Child Session.

The Android platform does not support port-based routing. Port ranges of traffic selectors are only informational.

Return
MutableList<IkeTrafficSelector!> the outbound traffic selectors. This value cannot be null.