Camera Permission Screen
data class CameraPermissionScreen(var statusBarMode: StatusBarMode = StatusBarMode.DARK, var background: ScanbotColor = ScanbotColor("?sbColorSurface", isArgb = false), var iconBackground: ScanbotColor = ScanbotColor("?sbColorOutline", isArgb = false), var icon: IconStyle = IconStyle( color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), var enableCameraButton: ButtonConfiguration = ButtonConfiguration( text = "?cameraPermissionEnableCameraButton", background = BackgroundStyle( strokeColor = ScanbotColor("?sbColorPrimary", isArgb = false), fillColor = ScanbotColor("?sbColorPrimary", isArgb = false), strokeWidth = 0.0 ), foreground = ForegroundStyle( iconVisible = false, color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), var closeButton: ButtonConfiguration = ButtonConfiguration( text = "?cameraPermissionCloseButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), foreground = ForegroundStyle( iconVisible = false, color = ScanbotColor("?sbColorPrimary", isArgb = false) ) ), var enableCameraTitle: StyledText = StyledText( text = "?cameraPermissionEnableCameraTitle", color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), var enableCameraExplanation: StyledText = StyledText( text = "?cameraPermissionEnableCameraExplanation", color = ScanbotColor("?sbColorOnSurfaceVariant", isArgb = false) )) : Parcelable
Configuration of the camera permission request view.
Constructors
Link copied to clipboard
constructor(statusBarMode: StatusBarMode = StatusBarMode.DARK, background: ScanbotColor = ScanbotColor("?sbColorSurface", isArgb = false), iconBackground: ScanbotColor = ScanbotColor("?sbColorOutline", isArgb = false), icon: IconStyle = IconStyle( color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), enableCameraButton: ButtonConfiguration = ButtonConfiguration( text = "?cameraPermissionEnableCameraButton", background = BackgroundStyle( strokeColor = ScanbotColor("?sbColorPrimary", isArgb = false), fillColor = ScanbotColor("?sbColorPrimary", isArgb = false), strokeWidth = 0.0 ), foreground = ForegroundStyle( iconVisible = false, color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), closeButton: ButtonConfiguration = ButtonConfiguration( text = "?cameraPermissionCloseButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), foreground = ForegroundStyle( iconVisible = false, color = ScanbotColor("?sbColorPrimary", isArgb = false) ) ), enableCameraTitle: StyledText = StyledText( text = "?cameraPermissionEnableCameraTitle", color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), enableCameraExplanation: StyledText = StyledText( text = "?cameraPermissionEnableCameraExplanation", color = ScanbotColor("?sbColorOnSurfaceVariant", isArgb = false) ))
Properties
Link copied to clipboard
The background color of the camera permission request.
Link copied to clipboard
Configuration of the camera permission request's close button.
Link copied to clipboard
Configuration of the camera permission request's confirmation button.
Link copied to clipboard
Configuration of the camera permission request's explanatory text.
Link copied to clipboard
Configuration of the camera permission request's title.
Link copied to clipboard
The background color of the icon used in the camera permission request.
Link copied to clipboard
Determines the visual mode for displaying the contents of the status bar.