capacitor-plugin-scanbot-barcode-scanner-sdk
    Preparing search index...

    Type Alias CameraPreviewMode

    CameraPreviewMode: "FIT_IN" | "FILL_IN"

    Configuration of the camera preview mode.

    • FIT_IN: In this mode, the camera preview frames will be scaled to fit inside the layout view size - the full preview frame content will be visible, but unused edges might appear in the preview layout.
    • FILL_IN: In this mode, the camera preview frames fill the entire layout view - the preview frames may contain additional content at the edges that are not visible in the preview layout.

    Type Declaration

    • "FIT_IN"

      In this mode, the camera preview frames will be scaled to fit inside the layout view size - the full preview frame content will be visible, but unused edges might appear in the preview layout.

    • "FILL_IN"

      In this mode, the camera preview frames fill the entire layout view - the preview frames may contain additional content at the edges that are not visible in the preview layout.