Configuration
data class Configuration( val cameraFacing: CameraFacing = CameraFacing.BACK, val cameraPreviewScaleType: CameraPreviewScaleType = CameraPreviewScaleType.FIT, val isTorchEnabled: Boolean = false, val isVideoCaptureEnabled: Boolean = false, val qualityAttributeThresholds: QualityAttributeThresholds = QualityAttributeThresholdPresets.standard, val minValidFramesInRowToStartCandidateSelection: Int = PalmAutoCaptureController.Configuration.DEFAULT_MIN_VALID_FRAMES_IN_ROW_TO_START_CANDIDATE_SELECTION, val candidateSelectionDurationMillis: Int = PalmAutoCaptureController.Configuration.DEFAULT_CANDIDATE_SELECTION_DURATION_MILLIS, val isDetectionLayerVisible: Boolean = false, val sessionToken: String? = null, val isCameraPreviewVisible: Boolean = true, val placeholderType: PlaceholderType = PlaceholderType.LEFT)
Configuration for the Palm Auto Capture UI component.
Constructors
Link copied to clipboard
fun Configuration( cameraFacing: CameraFacing = CameraFacing.BACK, cameraPreviewScaleType: CameraPreviewScaleType = CameraPreviewScaleType.FIT, isTorchEnabled: Boolean = false, isVideoCaptureEnabled: Boolean = false, qualityAttributeThresholds: QualityAttributeThresholds = QualityAttributeThresholdPresets.standard, minValidFramesInRowToStartCandidateSelection: Int = PalmAutoCaptureController.Configuration.DEFAULT_MIN_VALID_FRAMES_IN_ROW_TO_START_CANDIDATE_SELECTION, candidateSelectionDurationMillis: Int = PalmAutoCaptureController.Configuration.DEFAULT_CANDIDATE_SELECTION_DURATION_MILLIS, isDetectionLayerVisible: Boolean = false, sessionToken: String? = null, isCameraPreviewVisible: Boolean = true, placeholderType: PlaceholderType = PlaceholderType.LEFT)
Properties
Link copied to clipboard
Link copied to clipboard
Camera preview scale type. Default value is CameraPreviewScaleType.FIT.
Link copied to clipboard
Link copied to clipboard
Type of placeholder used in the UI. Default value is PlaceholderType.LEFT.
Link copied to clipboard
Quality attribute thresholds. Default value is QualityAttributeThresholdPresets.standard.