Stay organized with collections
Save and categorize content based on your preferences.
Builder
class Builder
This class can be used to incrementally construct an EapAkaInfo
.
Except for testing, IKE library users normally do not instantiate EapAkaInfo
themselves but instead get a reference via IkeSessionConfiguration
Summary
Public methods |
EapAkaInfo |
Constructs and returns an EapAkaInfo with the information applied to this Builder.
|
EapAkaInfo.Builder |
Sets the re-authentication ID for next use.
|
Public constructors
Public methods
build
fun build(): EapAkaInfo
Constructs and returns an EapAkaInfo with the information applied to this Builder.
Return |
EapAkaInfo |
the EapAkaInfo constructed by this Builder. This value cannot be null . |
setReauthId
fun setReauthId(reauthId: ByteArray): EapAkaInfo.Builder
Sets the re-authentication ID for next use.
Parameters |
reauthId |
ByteArray: byte[] representing the client's EAP Identity. This value cannot be null . |
Return |
EapAkaInfo.Builder |
Builder this, to facilitate chaining. This value cannot be null . |
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,["# EapAkaInfo.Builder\n\nAdded in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nBuilder\n=======\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/net/eap/EapAkaInfo.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.eap.EapAkaInfo.Builder](#) |\n\nThis class can be used to incrementally construct an [EapAkaInfo](/reference/kotlin/android/net/eap/EapAkaInfo).\n\nExcept for testing, IKE library users normally do not instantiate [EapAkaInfo](/reference/kotlin/android/net/eap/EapAkaInfo) themselves but instead get a reference via [IkeSessionConfiguration](../ipsec/ike/IkeSessionConfiguration.html#)\n\nSummary\n-------\n\n| Public constructors ||\n|----------------------------------|---|\n| [Builder](#Builder())`()` \u003cbr /\u003e |\n\n| Public methods ||\n|------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [EapAkaInfo](/reference/kotlin/android/net/eap/EapAkaInfo) | [build](#build())`()` Constructs and returns an EapAkaInfo with the information applied to this Builder. |\n| [EapAkaInfo.Builder](#) | [setReauthId](#setReauthId(kotlin.ByteArray))`(`reauthId:` `[ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html)`)` Sets the re-authentication ID for next use. |\n\nPublic constructors\n-------------------\n\n### Builder\n\nAdded in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nBuilder()\n```\n\nPublic methods\n--------------\n\n### build\n\nAdded in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nfun build(): EapAkaInfo\n```\n\nConstructs and returns an EapAkaInfo with the information applied to this Builder.\n\n| Return ||\n|------------------------------------------------------------|--------------------------------------------------------------------------|\n| [EapAkaInfo](/reference/kotlin/android/net/eap/EapAkaInfo) | the EapAkaInfo constructed by this Builder. This value cannot be `null`. |\n\n### setReauthId\n\nAdded in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nfun setReauthId(reauthId: ByteArray): EapAkaInfo.Builder\n```\n\nSets the re-authentication ID for next use.\n\n| Parameters ||\n|------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `reauthId` | [ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html): byte\\[\\] representing the client's EAP Identity. This value cannot be `null`. |\n\n| Return ||\n|-------------------------|--------------------------------------------------------------------|\n| [EapAkaInfo.Builder](#) | Builder this, to facilitate chaining. This value cannot be `null`. |"]]