IConfig interface
Optional configuration used when initializing the Jabra SDK.
Signature
export declare interface IConfig
Remarks
In particular, the IJabraConfig
object allows you to overwrite the default message/warning/error logger with your own custom implementation.
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
appId? | string |
Optional: unique string identifier for your application. You can choose whatever you like. The ID must be between 3 and 100 characters long. It can contain any combination of ASCII letters, numbers, dashes, and underscores. | |
appName? | string |
Optional: Provides a human-readable application name that shows when interacting with Jabra applications and services. For example, the Preferred Softphone selector in Jabra Direct. The name must be no longer than 100 characters and can contain letters, numbers, ampersands, dashes, and spaces. It must begin with a letter or number. | |
logger? | ILogger |
Optional: Implementation of the ILogger interface, used for logging runtime messages. Can be a custom implementation depending on the user's needs. | |
partnerKey? | string |
Optional: This is used to uniquely identify a partner organization. Obtain your Partner Key from the Jabra Developer Zone. | |
tracking? | TrackingOptions |
Optional: The Jabra SDK can track usage and errors when allowed. See TrackingOptions for available settings. Defaults to NO_TRACKING . |
|
transport? | RequestedBrowserTransport |
Optional: If set, this enables the SDK user to explicitly choose which transport mechanism they would like to use. |