EapAkaInfo.Builder


public static final class EapAkaInfo.Builder
extends Object

java.lang.Object
   ↳ 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

Builder()

Public methods

EapAkaInfo build()

Constructs and returns an EapAkaInfo with the information applied to this Builder.

EapAkaInfo.Builder setReauthId(byte[] reauthId)

Sets the re-authentication ID for next use.

Inherited methods

Public constructors

Builder

Added in API level 33
public Builder ()

Public methods

build

Added in API level 33
public EapAkaInfo build ()

Constructs and returns an EapAkaInfo with the information applied to this Builder.

Returns
EapAkaInfo the EapAkaInfo constructed by this Builder. This value cannot be null.

setReauthId

Added in API level 33
public EapAkaInfo.Builder setReauthId (byte[] reauthId)

Sets the re-authentication ID for next use.

Parameters
reauthId byte: byte[] representing the client's EAP Identity. This value cannot be null.

Returns
EapAkaInfo.Builder Builder this, to facilitate chaining. This value cannot be null.