KeyValueStore

public final class KeyValueStore

KeyValueStore is a class that stores key value pairs in encrypted shared preferences

Constructors

Link copied to clipboard

Properties

Link copied to clipboard
private final String keyGalleryBucketId

Key for gallery bucket id

Link copied to clipboard

Key for generation capture mode

Link copied to clipboard

Key for liveness capture mode for passive capture

Link copied to clipboard
private final String keyPrivacyShown
Link copied to clipboard

Key for verification capture mode

Functions

Link copied to clipboard

Gets the encrypted shared preferences

Link copied to clipboard
public final String getGalleryBucketId(Context context)

Gets the gallery bucket id

Link copied to clipboard

Gets the generation capture mode

Link copied to clipboard
private final String getKeyGalleryBucketId()

Key for gallery bucket id

Link copied to clipboard

Key for generation capture mode

Link copied to clipboard

Key for liveness capture mode for passive capture

Link copied to clipboard
private final String getKeyPrivacyShown()
Link copied to clipboard

Key for verification capture mode

Link copied to clipboard
private final MasterKey getMasterKey(Context context)

Gets the master key

Link copied to clipboard
public final Boolean getPrivacyShown(Context context)

Gets the shown privacy dialog

Link copied to clipboard

Gets the verification capture mode

Gets whether liveness check should be performed for passive capture session during SensePrint generation

Link copied to clipboard
public final Unit setGalleryBucketId(Context context, String bucketId)

Sets the gallery bucket id

Link copied to clipboard
public final Unit setGenerationCaptureMode(Context context, FaceCaptureMode mode)

Sets the generation capture mode

public final Unit setLivenessCheckEnabledForPassiveCaptureGeneration(Context context, Boolean isLivenessCheckEnabled)

Sets whether liveness is enabled for passive capture session during SensePrint generation

Link copied to clipboard
public final Unit setPrivacyShown(Context context, Boolean isShow)

Sets the shown privacy dialog

Link copied to clipboard

Sets the verification capture mode