UNPKG

capacitor-plugin-scanbot-sdk

Version:

Scanbot Document and Barcode Scanner SDK for Capacitor

47 lines (46 loc) 1.59 kB
import type { DeepPartial } from '../../utils'; import { PartiallyConstructible } from '../../utils'; import { ButtonConfiguration, IconStyle, StyledText } from '../common/Common'; import type { StatusBarMode } from '../common/TopBarConfiguration'; /** Configuration of the camera permission request view. */ export declare class CameraPermissionScreen extends PartiallyConstructible { /** Determines the visual mode for displaying the contents of the status bar. Default is DARK */ statusBarMode: StatusBarMode; /** The background color of the camera permission request. Default is "?sbColorSurface" */ background: string; /** The background color of the icon used in the camera permission request. Default is "?sbColorOutline" */ iconBackground: string; /** Configuration of the icon used in the camera permission request. */ icon: IconStyle; /** Configuration of the camera permission request's confirmation button. */ enableCameraButton: ButtonConfiguration; /** Configuration of the camera permission request's close button. */ closeButton: ButtonConfiguration; /** Configuration of the camera permission request's title. */ enableCameraTitle: StyledText; /** Configuration of the camera permission request's explanatory text. */ enableCameraExplanation: StyledText; /** @param source {@displayType `DeepPartial<CameraPermissionScreen>`} */ constructor(source?: DeepPartial<CameraPermissionScreen>); }