CameraPermissionScreen
constructor(json: JsonObject)
constructor(statusBarMode: StatusBarMode = StatusBarMode.DARK, background: ScanbotColor = ScanbotColor("?sbColorSurface", isArgb = false), iconBackground: ScanbotColor = ScanbotColor("?sbColorOutline", isArgb = false), icon: IconStyle = IconStyle( visible = true, color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), enableCameraButton: ButtonConfiguration = ButtonConfiguration( text = "Grant permission", background = BackgroundStyle( strokeColor = ScanbotColor("?sbColorPrimary", isArgb = false), fillColor = ScanbotColor("?sbColorPrimary", isArgb = false), strokeWidth = 0.0 ), foreground = ForegroundStyle( iconVisible = false, color = ScanbotColor("?sbColorOnPrimary", isArgb = false), useShadow = false ) ), closeButton: ButtonConfiguration = ButtonConfiguration( text = "Close", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), foreground = ForegroundStyle( iconVisible = false, color = ScanbotColor("?sbColorPrimary", isArgb = false), useShadow = false ) ), enableCameraTitle: StyledText = StyledText( text = "Camera permission denied!", color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), enableCameraExplanation: StyledText = StyledText( text = "Please allow the usage of the camera to start the scanning process.", color = ScanbotColor("?sbColorOnSurfaceVariant", isArgb = false) ))