Package-level declarations

Types

Link copied to clipboard
class ScanbotScannerContainerViewController(var arOverlayConfiguration: ArOverlayConfiguration, var onBarcodesDetected: (List<BarcodeItem>) -> Unit?, var onBarcodeTap: (BarcodeItem, Boolean) -> Unit?, var onError: (error: Result.Failure) -> Unit?, var cameraZoomFactor: Float, var cameraZoomRange: CameraZoomRange, var minFocusDistanceLock: Boolean) : UIViewController, SBSDKBarcodeScannerViewControllerDelegateProtocol, SBSDKBarcodeTrackingOverlayControllerDelegateProtocol

Functions

Link copied to clipboard
@Composable
actual fun BarcodeScannerCustomUI(modifier: Modifier, detectionEnabled: Boolean, flashEnabled: Boolean, @FloatRange(from = 0.0, to = 1.0) cameraZoomFactor: Float, cameraZoomRange: CameraZoomRange, cameraModule: CameraModule, minFocusDistanceLock: Boolean, scannerConfiguration: BarcodeScannerConfiguration, arOverlayConfiguration: ArOverlayConfiguration, finderConfiguration: FinderViewConfiguration, cameraLiveScannerResolution: CameraLiveScannerResolution, hardwareButtonsEnabled: Boolean, onBarcodesDetected: (List<BarcodeItem>) -> Unit?, onBarcodeTap: (barcode: BarcodeItem, highlighted: Boolean) -> Unit?, onError: (error: Result.Failure) -> Unit?)
@Composable
expect fun BarcodeScannerCustomUI(modifier: Modifier, detectionEnabled: Boolean = true, flashEnabled: Boolean = false, @FloatRange(from = 0.0, to = 1.0) cameraZoomFactor: Float = 0.0f, cameraZoomRange: CameraZoomRange = CameraZoomRange(), cameraModule: CameraModule = CameraModule.BACK, minFocusDistanceLock: Boolean = false, scannerConfiguration: BarcodeScannerConfiguration = BarcodeScannerConfiguration(), arOverlayConfiguration: ArOverlayConfiguration = ArOverlayConfiguration(), finderConfiguration: FinderViewConfiguration = FinderViewConfiguration(), cameraLiveScannerResolution: CameraLiveScannerResolution = CameraLiveScannerResolution.FULL_HD, hardwareButtonsEnabled: Boolean = true, onBarcodesDetected: (List<BarcodeItem>) -> Unit? = null, onBarcodeTap: (barcode: BarcodeItem, highlighted: Boolean) -> Unit? = null, onError: (error: Result.Failure) -> Unit? = null)

A composable function that displays a barcode scanner view with the specified configuration and callbacks for barcode detection, barcode tap events, errors, and AR overlay styling.

@Composable
actual fun BarcodeScannerCustomUI(modifier: Modifier, detectionEnabled: Boolean, flashEnabled: Boolean, @FloatRange(from = 0.0, to = 1.0) cameraZoomFactor: Float, cameraZoomRange: CameraZoomRange, cameraModule: CameraModule, minFocusDistanceLock: Boolean, scannerConfiguration: BarcodeScannerConfiguration, arOverlayConfiguration: ArOverlayConfiguration, finderConfiguration: FinderViewConfiguration, cameraLiveScannerResolution: CameraLiveScannerResolution, hardwareButtonsEnabled: Boolean, onBarcodesDetected: (List<BarcodeItem>) -> Unit?, onBarcodeTap: (barcode: BarcodeItem, highlighted: Boolean) -> Unit?, onError: (error: Result.Failure) -> Unit?)