@gnaudio/jabra-js
    Preparing search index...

    Interface IDevice

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

    interface IDevice {
        browserLabel: string;
        connectionAdded: Observable<IConnection>;
        connectionList: Observable<IConnection[]>;
        connectionRemoved: Observable<IConnection>;
        currentConnections: IConnection[];
        id: DeviceId;
        name: string;
        onDisconnect: Observable<void>;
        productId: number;
        serialNumber: string;
        type: DeviceType;
        vendorId: number;
    }
    Index

    Properties

    browserLabel: string

    Retrieves the full access label of the device. This is a stringified version of IDevice.vendorId and IDevice.productId.

    The label of the device, e.g. '0b0e:0e40' for Jabra Evolve2 40.

    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.

    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.

    The device type, e.g. headset, dongle, etc.

    vendorId: number

    The vendor ID of the device. Should be the Jabra vendor ID, i.e. 2830, or '0b0e'