Added in API level 31

EapAkaPrimeConfig


class EapAkaPrimeConfig : EapSessionConfig.EapAkaConfig

EapAkaPrimeConfig represents the configs needed for an EAP-AKA' session.

Summary

Inherited constants
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

Inherited functions
Int getAppType()

Retrieves the UICC app type

return the type

EapSessionConfig.EapAkaOption getEapAkaOption()

Retrieves EapAkaOption

Int getSubId()

Retrieves the subId

Int getMethodType()

Retrieves the EAP method type

Public methods

allowsMismatchedNetworkNames

Added in API level 31
open fun allowsMismatchedNetworkNames(): Boolean

Checks if mismatched network names are allowed

Return
Boolean whether network name mismatches are allowed

getNetworkName

Added in API level 31
open fun getNetworkName(): String

Retrieves the network name

return the network name

Return
String This value cannot be null.