Optional
audioExplicitly 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.
Optional
enabledToggle 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
Fine-grained audio feedback configuration object