Stay organized with collections
Save and categorize content based on your preferences.
TransportModeChildSessionParams
class TransportModeChildSessionParams : ChildSessionParams
TransportModeChildSessionParams represents proposed configurations for negotiating a transport mode Child Session.
Summary
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# TransportModeChildSessionParams\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nTransportModeChildSessionParams\n===============================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/net/ipsec/ike/TransportModeChildSessionParams \"View this page in Java\") \n\n```\nclass TransportModeChildSessionParams : ChildSessionParams\n```\n\n|---|---|------------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||\n| ↳ | [android.net.ipsec.ike.ChildSessionParams](/reference/kotlin/android/net/ipsec/ike/ChildSessionParams) ||\n| | ↳ | [android.net.ipsec.ike.TransportModeChildSessionParams](#) |\n\nTransportModeChildSessionParams represents proposed configurations for negotiating a transport mode Child Session.\n\nSummary\n-------\n\n| Nested classes ||\n|---|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | [Builder](/reference/kotlin/android/net/ipsec/ike/TransportModeChildSessionParams.Builder) This class can be used to incrementally construct a [TransportModeChildSessionParams](#). |\n\n| Inherited functions ||\n|---|---|\n| From class [ChildSessionParams](/reference/kotlin/android/net/ipsec/ike/ChildSessionParams) |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | [equals](/reference/kotlin/android/net/ipsec/ike/ChildSessionParams#equals(kotlin.Any))`(`other:` `[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?`)` \u003cbr /\u003e | | [MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)\u003c[ChildSaProposal](/reference/kotlin/android/net/ipsec/ike/ChildSaProposal)!\u003e | [getChildSaProposals](/reference/kotlin/android/net/ipsec/ike/ChildSessionParams#getChildSaProposals())`()` Retrieves all ChildSaProposals configured \u003cbr /\u003e | | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [getHardLifetimeSeconds](/reference/kotlin/android/net/ipsec/ike/ChildSessionParams#getHardLifetimeSeconds())`()` Retrieves hard lifetime in seconds \u003cbr /\u003e | | [MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)\u003c[IkeTrafficSelector](/reference/kotlin/android/net/ipsec/ike/IkeTrafficSelector)!\u003e | [getInboundTrafficSelectors](/reference/kotlin/android/net/ipsec/ike/ChildSessionParams#getInboundTrafficSelectors())`()` Retrieves configured inbound traffic selectors @see [android.net.ipsec.ike.TunnelModeChildSessionParams.Builder#addInboundTrafficSelectors(android.net.ipsec.ike.IkeTrafficSelector)](/reference/kotlin/android/net/ipsec/ike/TunnelModeChildSessionParams.Builder#addInboundTrafficSelectors(android.net.ipsec.ike.IkeTrafficSelector)) or [android.net.ipsec.ike.TransportModeChildSessionParams.Builder#addInboundTrafficSelectors(android.net.ipsec.ike.IkeTrafficSelector)](/reference/kotlin/android/net/ipsec/ike/TransportModeChildSessionParams.Builder#addInboundTrafficSelectors(android.net.ipsec.ike.IkeTrafficSelector)) \u003cbr /\u003e | | [MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)\u003c[IkeTrafficSelector](/reference/kotlin/android/net/ipsec/ike/IkeTrafficSelector)!\u003e | [getOutboundTrafficSelectors](/reference/kotlin/android/net/ipsec/ike/ChildSessionParams#getOutboundTrafficSelectors())`()` Retrieves configured outbound traffic selectors @see [android.net.ipsec.ike.TunnelModeChildSessionParams.Builder#addOutboundTrafficSelectors(android.net.ipsec.ike.IkeTrafficSelector)](/reference/kotlin/android/net/ipsec/ike/TunnelModeChildSessionParams.Builder#addOutboundTrafficSelectors(android.net.ipsec.ike.IkeTrafficSelector)) or [android.net.ipsec.ike.TransportModeChildSessionParams.Builder#addOutboundTrafficSelectors(android.net.ipsec.ike.IkeTrafficSelector)](/reference/kotlin/android/net/ipsec/ike/TransportModeChildSessionParams.Builder#addOutboundTrafficSelectors(android.net.ipsec.ike.IkeTrafficSelector)) \u003cbr /\u003e | | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [getSoftLifetimeSeconds](/reference/kotlin/android/net/ipsec/ike/ChildSessionParams#getSoftLifetimeSeconds())`()` Retrieves soft lifetime in seconds \u003cbr /\u003e | | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [hashCode](/reference/kotlin/android/net/ipsec/ike/ChildSessionParams#hashCode())`()` \u003cbr /\u003e | ||"]]