Home > @gnaudio/jabra-js > init
#
init() functionInitialize the Jabra SDK. Entry point to being able to control Jabra hardware.
Signature:#
ParametersParameter | Type | Description |
---|---|---|
config | IConfig | null | Optional configuration settings. See IConfig for more details. |
Promise<IApi>
The initialized SDK object, which can be used to control Jabra hardware.
#
ExceptionsIf the underlying transport object (console-app or Chrome extension) fails to connect for some reason, e.g. when it's not installed on the system.
#
ExampleHere is a small example that initializes the Jabra SDK: