Optional
params: { Optional
attemptsOptional
cameraOptional
cameraOptional
cameraOptional
closeOptional
copyright?: booleanOptional
livenessOptional
locationOptional
metadata?: Record<string, any>Optional
recordingOptional
screenOptional
skipOptional
tag?: stringOptional
torchOptional
vibrateThe number of attempts to pass the Liveness before completing with error. Defaults to 0
.
When set to 0
the Liveness will always ask to retry on error.
Optional
cameraAndroid only.
IOS only.
Defines, whether the camera's toolbar switch camera button is available on the Liveness UI. Defaults to false
.
When set to true
the CameraToolbarView will contain a button to change current cameraPosition
.
Only for livenessType = LivenessType.PASSIVE.
Defines, whether the logo is visible on the bottom of Liveness UI screens. Defaults to true
.
Defines whether the liveness processing type. Defaults to LivenessType.ACTIVE.
Defines whether the liveness request sends a location of a device. Defaults to true
.
When set to true
the liveness request to web service will contain the location
object within the json metadata
object.
The location is used only when permissions are granted and the location is available.
Optional
metadataDefines whether the liveness recording video of processing. Defaults to RecordingProcess.ASYNCHRONOUS_UPLOAD.
Optional
screenAllows you to specify an orientation of the camera view controller.
Defines which steps of the user interface can be omitted. See LivenessSkipStep enum for details.
Optional
tagDefines tag that can be used in Liveness processing. Defaults to null
.
Defines, whether the camera's toolbar torch button is available on the Liveness UI. Defaults to true
.
When set to false
the CameraToolbarView won't contain a button to toggle camera's flashlight.
Only for livenessType = LivenessType.PASSIVE.
Enables vibration during Liveness processing. Defaults to true
.
Configuration for the Liveness processing. The configuration provides convenient properties to change the behavior and the appearance of the Liveness UI module.