IDevice interface

Describes all the properties of a physical Jabra device along with methods for basic device communication via HID or GNP.

Signature

export declare interface IDevice 

Properties

Property Modifiers Type Description
browserLabel readonly string Retrieves the full access label of the device. This is a stringified version of IDevice.vendorId and IDevice.productId.
connectionAdded Observable<IConnection> An observable which emits whenever the device receives a new connection that can be used for communicating with the device.
connectionList Observable<IConnection> An observable which emits all existing connections with a device whenever there are any changes with a connection, whether it is a new one or a disconnected one.
connectionRemoved Observable<IConnection> An observable which emits whenever an existing connection with the device has disconnected. If it was the last existing connection, IDevice.onDisconnect will also emit.
currentConnections IConnection Retrieves a list of the currently available connections.
id DeviceId The ID of the device.
name string The name of the device, e.g. "Jabra Evolve2 40".
onDisconnect Observable<void> Emits when the device gets disconnected.
productId number The product ID of the device, e.g. 3648, or '0e40' for Jabra Evolve2 40.
serialNumber string The serial number of the device.
type readonly DeviceType The device type, e.g. headset, dongle, etc.
vendorId number The vendor ID of the device. The Jabra vendor ID is for example 2830, or '0b0e'.