Added in API level 33

Builder


class Builder
kotlin.Any
   ↳ android.net.eap.EapAkaInfo.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 constructors

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

Builder

Added in API level 33
Builder()

Public methods

build

Added in API level 33
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

Added in API level 33
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.