Skip to main content

Home > @gnaudio/jabra-js > IConfig

IConfig interface#

Optional configuration used when initializing the Jabra SDK.

Signature:
interface IConfig

Remarks#

In particular, the IJabraConfig object allows you to overwrite the default message/warning/error logger with your own custom implementation.

Properties#

PropertyTypeDescription
logger?ILogger(Optional) Implementation of the ILogger interface, used for logging runtime messages. Can be a custom implementation depending on the user's needs.
transport?RequestedBrowserTransport(Optional) If set, this enables the SDK user to explicitly choose which transport mechanism they would like to use.The options are to use the Chrome extension (default behaviour), Chrome extension but falling back to WebHID if the extension is not available, or just WebHID.Currently the WebHID-standard is only available in Chromium based browsers and requires active consent from the end-user.