Stay organized with collections
Save and categorize content based on your preferences.
EapAkaPrimeConfig
class EapAkaPrimeConfig : EapSessionConfig.EapAkaConfig
EapAkaPrimeConfig represents the configs needed for an EAP-AKA' session.
Summary
Inherited constants |
From class EapMethodConfig
Int |
EAP_TYPE_AKA
EAP-Type value for the EAP-AKA method.
To include EAP-AKA as an authentication method, see android.net.eap.EapSessionConfig.Builder#setEapAkaConfig(int,int) .
|
Int |
EAP_TYPE_AKA_PRIME
EAP-Type value for the EAP-AKA' method.
To include EAP-AKA' as an authentication method, see android.net.eap.EapSessionConfig.Builder#setEapAkaPrimeConfig(int,int,java.lang.String,boolean) .
|
Int |
EAP_TYPE_MSCHAP_V2
EAP-Type value for the EAP-MS-CHAPv2 method.
To include EAP-MS-CHAPv2 as an authentication method, see android.net.eap.EapSessionConfig.Builder#setEapMsChapV2Config(java.lang.String,java.lang.String) .
|
Int |
EAP_TYPE_SIM
EAP-Type value for the EAP-SIM method.
To include EAP-SIM as an authentication method, see android.net.eap.EapSessionConfig.Builder#setEapSimConfig(int,int) .
|
Int |
EAP_TYPE_TTLS
EAP-Type value for the EAP-TTLS method.
To include EAP-TTLS as an authentication method, see android.net.eap.EapSessionConfig.Builder#setEapTtlsConfig(java.security.cert.X509Certificate,android.net.eap.EapSessionConfig) .
|
|
Public methods |
open Boolean |
Checks if mismatched network names are allowed
|
open String |
Retrieves the network name
|
Public methods
allowsMismatchedNetworkNames
open fun allowsMismatchedNetworkNames(): Boolean
Checks if mismatched network names are allowed
Return |
Boolean |
whether network name mismatches are allowed |
getNetworkName
open fun getNetworkName(): String
Retrieves the network name
return the network name
Return |
String |
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,["# EapSessionConfig.EapAkaPrimeConfig\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nEapAkaPrimeConfig\n=================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/net/eap/EapSessionConfig.EapAkaPrimeConfig \"View this page in Java\") \n\n```\nclass EapAkaPrimeConfig : EapSessionConfig.EapAkaConfig\n```\n\n|---|---|---|---------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||||\n| ↳ | [android.net.eap.EapSessionConfig.EapMethodConfig](/reference/kotlin/android/net/eap/EapSessionConfig.EapMethodConfig) |||\n| | ↳ | [android.net.eap.EapSessionConfig.EapAkaConfig](/reference/kotlin/android/net/eap/EapSessionConfig.EapAkaConfig) ||\n| | | ↳ | [android.net.eap.EapSessionConfig.EapAkaPrimeConfig](#) |\n\nEapAkaPrimeConfig represents the configs needed for an EAP-AKA' session.\n\nSummary\n-------\n\n| Inherited constants ||\n|---|---|\n| From class [EapMethodConfig](/reference/kotlin/android/net/eap/EapSessionConfig.EapMethodConfig) |----------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EAP_TYPE_AKA](/reference/kotlin/android/net/eap/EapSessionConfig.EapMethodConfig#EAP_TYPE_AKA:kotlin.Int) EAP-Type value for the EAP-AKA method. To include EAP-AKA as an authentication method, see [android.net.eap.EapSessionConfig.Builder#setEapAkaConfig(int,int)](/reference/kotlin/android/net/eap/EapSessionConfig.Builder#setEapAkaConfig(kotlin.Int,%20kotlin.Int)). \u003cbr /\u003e | | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EAP_TYPE_AKA_PRIME](/reference/kotlin/android/net/eap/EapSessionConfig.EapMethodConfig#EAP_TYPE_AKA_PRIME:kotlin.Int) EAP-Type value for the EAP-AKA' method. To include EAP-AKA' as an authentication method, see [android.net.eap.EapSessionConfig.Builder#setEapAkaPrimeConfig(int,int,java.lang.String,boolean)](/reference/kotlin/android/net/eap/EapSessionConfig.Builder#setEapAkaPrimeConfig(kotlin.Int,%20kotlin.Int,%20kotlin.String,%20kotlin.Boolean)). \u003cbr /\u003e | | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EAP_TYPE_MSCHAP_V2](/reference/kotlin/android/net/eap/EapSessionConfig.EapMethodConfig#EAP_TYPE_MSCHAP_V2:kotlin.Int) EAP-Type value for the EAP-MS-CHAPv2 method. To include EAP-MS-CHAPv2 as an authentication method, see [android.net.eap.EapSessionConfig.Builder#setEapMsChapV2Config(java.lang.String,java.lang.String)](/reference/kotlin/android/net/eap/EapSessionConfig.Builder#setEapMsChapV2Config(kotlin.String,%20kotlin.String)). \u003cbr /\u003e | | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EAP_TYPE_SIM](/reference/kotlin/android/net/eap/EapSessionConfig.EapMethodConfig#EAP_TYPE_SIM:kotlin.Int) EAP-Type value for the EAP-SIM method. To include EAP-SIM as an authentication method, see [android.net.eap.EapSessionConfig.Builder#setEapSimConfig(int,int)](/reference/kotlin/android/net/eap/EapSessionConfig.Builder#setEapSimConfig(kotlin.Int,%20kotlin.Int)). \u003cbr /\u003e | | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EAP_TYPE_TTLS](/reference/kotlin/android/net/eap/EapSessionConfig.EapMethodConfig#EAP_TYPE_TTLS:kotlin.Int) EAP-Type value for the EAP-TTLS method. To include EAP-TTLS as an authentication method, see [android.net.eap.EapSessionConfig.Builder#setEapTtlsConfig(java.security.cert.X509Certificate,android.net.eap.EapSessionConfig)](/reference/kotlin/android/net/eap/EapSessionConfig.Builder#setEapTtlsConfig(java.security.cert.X509Certificate,%20android.net.eap.EapSessionConfig)). \u003cbr /\u003e | ||\n\n| Public methods ||\n|-----------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------|\n| open [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | [allowsMismatchedNetworkNames](#allowsMismatchedNetworkNames())`()` Checks if mismatched network names are allowed |\n| open [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [getNetworkName](#getNetworkName())`()` Retrieves the network name |\n\n| Inherited functions ||\n|---|---|\n| From class [EapAkaConfig](/reference/kotlin/android/net/eap/EapSessionConfig.EapAkaConfig) |--------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------| | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [getAppType](/reference/kotlin/android/net/eap/EapSessionConfig.EapAkaConfig#getAppType())`()` Retrieves the UICC app type return the type \u003cbr /\u003e | | [EapSessionConfig.EapAkaOption](/reference/kotlin/android/net/eap/EapSessionConfig.EapAkaOption) | [getEapAkaOption](/reference/kotlin/android/net/eap/EapSessionConfig.EapAkaConfig#getEapAkaOption())`()` Retrieves EapAkaOption \u003cbr /\u003e | | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [getSubId](/reference/kotlin/android/net/eap/EapSessionConfig.EapAkaConfig#getSubId())`()` Retrieves the subId \u003cbr /\u003e | ||\n| From class [EapMethodConfig](/reference/kotlin/android/net/eap/EapSessionConfig.EapMethodConfig) |----------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------| | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [getMethodType](/reference/kotlin/android/net/eap/EapSessionConfig.EapMethodConfig#getMethodType())`()` Retrieves the EAP method type \u003cbr /\u003e | ||\n\nPublic methods\n--------------\n\n### allowsMismatchedNetworkNames\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun allowsMismatchedNetworkNames(): Boolean\n```\n\nChecks if mismatched network names are allowed\n\n| Return ||\n|------------------------------------------------------------------------------------|---------------------------------------------|\n| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | whether network name mismatches are allowed |\n\n### getNetworkName\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getNetworkName(): String\n```\n\nRetrieves the network name\n\nreturn the network name\n\n| Return ||\n|----------------------------------------------------------------------------------|------------------------------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | This value cannot be `null`. |"]]