Configuration of the camera permission request view.

Hierarchy

  • PartiallyConstructible
    • CameraPermissionScreen

Constructors

Properties

background: string

Background color of the camera permission request.

Default Value

"?sbColorSurface";
closeButton: ButtonConfiguration

Configuration of the camera permission request's close button.

Default Value

new ButtonConfiguration({
"text": "Close",
"background": new BackgroundStyle({}),
"foreground": new ForegroundStyle({})
});
enableCameraExplanation: StyledText

Configuration of the camera permission request's explanatory text.

Default Value

new StyledText({
"text": "Please allow the usage of the camera to start the scanning process.",
"color": "?sbColorOnSurfaceVariant"
});
enableCameraTitle: StyledText

Configuration of the camera permission request's title.

Default Value

new StyledText({
"text": "Camera permission denied!",
"color": "?colorOnSurface"
});
icon: IconStyle

Configuration of the icon used in the camera permission request.

Default Value

new IconStyle({
"visible": true,
"color": "?sbColorOnSurface"
});
iconBackground: string

Background color of the icon used in the camera permission request.

Default Value

"?sbColorOutline";

Generated using TypeDoc