setUnlockedDeviceRequired

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.

Parameters

unlockedDeviceRequired

boolean flag to control whether or not the SDK will enforce this rule on cryptographic keys