STRICH Barcode Scanning SDK API Reference
    Preparing search index...

    Interface AudioFeedbackConfiguration

    Fine-grained audio feedback configuration object

    interface AudioFeedbackConfiguration {
        audioSessionType?: string | null;
        enabled?: boolean;
    }
    Index

    Properties

    audioSessionType?: string | null

    Explicitly set the AudioSession type used for audible feedback.

    See https://github.com/w3c/audio-session/blob/main/explainer.md#api-design for a list of acceptable values.

    By default, the value transient is used if the AudioSession API is available. Setting this value to null will disable setting the AudioSession type.

    enabled?: boolean

    Toggle audible beep upon successful scan.

    Uses the WebAudio API to emit a "cash register"-like beep. Beeping is done on a best-effort basis and should not be relied upon. If the browser does not support the WebAudio API, beeping will not work, and no error will be thrown.

    true