Web Measurement Embedded App (WMEA) - v1.0.1
    Preparing search index...
    interface Config {
        cameraAutoStart?: boolean;
        cameraFacingMode?: "user" | "environment";
        cancelWhenLowSNR?: boolean;
        checkConstraints?: boolean;
        debugMode?: boolean;
        defaultCameraId?: string;
        downloadPayloads?: boolean;
        measurementAutoStart?: boolean;
    }
    Index

    Properties

    cameraAutoStart?: boolean

    If true, camera starts automatically without user interaction

    cameraFacingMode?: "user" | "environment"

    Camera facing mode: 'user' (front) or 'environment' (back). Undefined by default. When set, it takes precedence over defaultCameraId — the camera is selected by facing direction and the browser chooses the device.

    cancelWhenLowSNR?: boolean

    If true, measurement will be canceled when low SNR is detected

    checkConstraints?: boolean

    Enables all distance, direction, and movement validations

    debugMode?: boolean

    If true, enables verbose logging for debugging purposes

    defaultCameraId?: string

    Preferred camera deviceId to use on startup. Used only when cameraFacingMode is not set (a set cameraFacingMode takes precedence). Useful when the browser does not expose enough information for WMEA to pick the right camera (e.g. distinguishing the ultra-wide front camera on iPad). Persist the user's selection from a prior session (e.g. in localStorage) and pass it back here.

    • If the dropdown is shown, this becomes the default selection.
    • If the dropdown is hidden (e.g. cameraAutoStart or mobile), this camera is opened directly.
    • If the ID is not connected, the browser's default camera is used.
    downloadPayloads?: boolean

    If true, enables downloading of measurement payloads

    measurementAutoStart?: boolean

    If true, measurement begins automatically after camera starts