LivenessConfig constructor
LivenessConfig({
- bool copyright = true,
- bool cameraSwitchEnabled = false,
- bool closeButtonEnabled = true,
- bool torchButtonEnabled = true,
- bool vibrateOnSteps = true,
- int? cameraPositionAndroid,
- CameraPosition cameraPositionIOS = CameraPosition.FRONT,
- List<
ScreenOrientation> screenOrientation = const [ScreenOrientation.PORTRAIT], - bool locationTrackingEnabled = true,
- int attemptsCount = 0,
- RecordingProcess recordingProcess = RecordingProcess.ASYNCHRONOUS_UPLOAD,
- LivenessType livenessType = LivenessType.ACTIVE,
- String? tag,
- List<
LivenessSkipStep> skipStep = const [], - dynamic metadata,
Implementation
LivenessConfig({
bool copyright = true,
bool cameraSwitchEnabled = false,
bool closeButtonEnabled = true,
bool torchButtonEnabled = true,
bool vibrateOnSteps = true,
int? cameraPositionAndroid,
CameraPosition cameraPositionIOS = CameraPosition.FRONT,
List<ScreenOrientation> screenOrientation = const [
ScreenOrientation.PORTRAIT
],
bool locationTrackingEnabled = true,
int attemptsCount = 0,
RecordingProcess recordingProcess = RecordingProcess.ASYNCHRONOUS_UPLOAD,
LivenessType livenessType = LivenessType.ACTIVE,
String? tag,
List<LivenessSkipStep> skipStep = const [],
dynamic metadata,
}) : copyright = copyright,
cameraSwitchEnabled = cameraSwitchEnabled,
closeButtonEnabled = closeButtonEnabled,
torchButtonEnabled = torchButtonEnabled,
vibrateOnSteps = vibrateOnSteps,
cameraPositionAndroid = cameraPositionAndroid,
cameraPositionIOS = cameraPositionIOS,
screenOrientation = screenOrientation,
locationTrackingEnabled = locationTrackingEnabled,
attemptsCount = attemptsCount,
recordingProcess = recordingProcess,
livenessType = livenessType,
tag = tag,
skipStep = skipStep,
metadata = metadata;