LivenessConfig constructor

LivenessConfig({
  1. bool copyright = true,
  2. bool cameraSwitchEnabled = false,
  3. bool closeButtonEnabled = true,
  4. bool torchButtonEnabled = true,
  5. bool vibrateOnSteps = true,
  6. int? cameraPositionAndroid,
  7. CameraPosition cameraPositionIOS = CameraPosition.FRONT,
  8. List<ScreenOrientation> screenOrientation = const [ScreenOrientation.PORTRAIT],
  9. bool locationTrackingEnabled = true,
  10. int attemptsCount = 0,
  11. RecordingProcess recordingProcess = RecordingProcess.ASYNCHRONOUS_UPLOAD,
  12. LivenessType livenessType = LivenessType.ACTIVE,
  13. String? tag,
  14. List<LivenessSkipStep> skipStep = const [],
  15. 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;