Stay organized with collections
Save and categorize content based on your preferences.
Builder
class Builder
This class can be used to incrementally construct a ChildSessionConfiguration
.
Except for testing, IKE library users normally do not instantiate ChildSessionConfiguration
themselves but instead get a reference via ChildSessionCallback
Summary
Public constructors |
Constructs a Builder.
|
Public constructors
Public methods
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# ChildSessionConfiguration.Builder\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nBuilder\n=======\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/net/ipsec/ike/ChildSessionConfiguration.Builder \"View this page in Java\") \n\n```\nclass Builder\n```\n\n|---|--------------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.net.ipsec.ike.ChildSessionConfiguration.Builder](#) |\n\nThis class can be used to incrementally construct a [ChildSessionConfiguration](/reference/kotlin/android/net/ipsec/ike/ChildSessionConfiguration).\n\nExcept for testing, IKE library users normally do not instantiate [ChildSessionConfiguration](/reference/kotlin/android/net/ipsec/ike/ChildSessionConfiguration) themselves but instead get a reference via [ChildSessionCallback](/reference/kotlin/android/net/ipsec/ike/ChildSessionCallback)\n\nSummary\n-------\n\n| Public constructors ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [Builder](#Builder(kotlin.collections.MutableList,%20kotlin.collections.MutableList))`(`inTs:` `[MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)\u003c[IkeTrafficSelector](/reference/kotlin/android/net/ipsec/ike/IkeTrafficSelector)!\u003e`, `outTs:` `[MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)\u003c[IkeTrafficSelector](/reference/kotlin/android/net/ipsec/ike/IkeTrafficSelector)!\u003e`)` Constructs a Builder. |\n\n| Public methods ||\n|------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|\n| [ChildSessionConfiguration](/reference/kotlin/android/net/ipsec/ike/ChildSessionConfiguration) | [build](#build())`()` Constructs an [ChildSessionConfiguration](/reference/kotlin/android/net/ipsec/ike/ChildSessionConfiguration) instance. |\n\nPublic constructors\n-------------------\n\n### Builder\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nBuilder(\n inTs: MutableList\u003cIkeTrafficSelector!\u003e, \n outTs: MutableList\u003cIkeTrafficSelector!\u003e)\n```\n\nConstructs a Builder.\n\n| Parameters ||\n|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `inTs` | [MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)\\\u003c[IkeTrafficSelector](/reference/kotlin/android/net/ipsec/ike/IkeTrafficSelector)!\\\u003e: the negotiated inbound traffic selectors This value cannot be `null`. |\n| `outTs` | [MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)\\\u003c[IkeTrafficSelector](/reference/kotlin/android/net/ipsec/ike/IkeTrafficSelector)!\\\u003e: the negotiated outbound traffic selectors This value cannot be `null`. |\n\nPublic methods\n--------------\n\n### build\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nfun build(): ChildSessionConfiguration\n```\n\nConstructs an [ChildSessionConfiguration](/reference/kotlin/android/net/ipsec/ike/ChildSessionConfiguration) instance.\n\n| Return ||\n|------------------------------------------------------------------------------------------------|------------------------------|\n| [ChildSessionConfiguration](/reference/kotlin/android/net/ipsec/ike/ChildSessionConfiguration) | This value cannot be `null`. |"]]