Builder

Functions

Link copied to clipboard
public final SDKConfiguration build()
public final SDKConfiguration.Builder setAllowChangePinCodeWithBiometricUnlock(Boolean allowChangePinCodeWithBiometricUnlock)

Configuration operation to define if the SDK will allow calling the com.futurae.sdk.public_api.lock.FuturaeLockApi.changeSDKPin function while SDK is unlocked with biometrics under LockConfigurationType.SDK_PIN_WITH_BIOMETRICS_OPTIONAL This flag can be set to true or false during SDK launch regardless of the previous value. This means that you can update it without calling com.futurae.sdk.public_api.lock.FuturaeLockApi.switchToLockConfiguration

Link copied to clipboard
public final SDKConfiguration.Builder setInvalidatedByBiometricChange(Boolean invalidatedByBiometricChange)

Configuration operation to define if the SDK cryptographic keys will be invalidated when the device biometrics settings change.

Link copied to clipboard

Configuration method that sets the lock configuration type. If lockConfigurationType is not set, it will default to LockConfigurationType.NONE.

Link copied to clipboard
public final SDKConfiguration.Builder setSkipHardwareSecurity(Boolean skipHardwareSecurity)

Configuration operation to define if the SDK cryptographic keys should be stored in Strongbox if available. Defaults to true.

Link copied to clipboard

Configuration method that sets the duration in seconds that the SDK remains unlocked for, after successfully calling an unlock method. If duration is not set, then the SDK will assume a default unlock duration of 60 seconds.

Link copied to clipboard
public final SDKConfiguration.Builder setUnlockedDeviceRequired(Boolean unlockedDeviceRequired)

Configuration operation to define if the SDK cryptographic keys will enforce requiring the device to be unlocked with a secure lock-screen type (e.g. not "SWIPE") in order to be used. For more info please refer to the official documentation of this Keystore key configuration: https://developer.android.com/reference/android/security/keystore/KeyProtection.Builder#setUnlockedDeviceRequired(boolean) This flag is enforced only on supported devices running android.os.Build.VERSION_CODES.P or higher.