Interface IDevice
Describes a physical Jabra device along with methods for basic device communication via HID or GNP.
Inherited Members
Namespace: Jabra.NET.Sdk.Core.Types
Assembly: Jabra.NET.Sdk.dll
Syntax
public interface IDevice : IDisconnectable, IEquatable<IDisconnectable>
Properties
ConnectionAdded
An observable which emits whenever the device gets connected to the system via a new means (e.g. USB cable). This new physical connection is represented with a new IConnection that can be used for communicating with the device.
Declaration
IObservable<IConnection> ConnectionAdded { get; }
Property Value
Type | Description |
---|---|
System.IObservable<IConnection> |
ConnectionList
An observable which emits all existing connections with a device whenever there are any changes with a single IConnection, whether it is a new one or a disconnected one.
Declaration
IObservable<List<IConnection>> ConnectionList { get; }
Property Value
Type | Description |
---|---|
System.IObservable<System.Collections.Generic.List<IConnection>> |
ConnectionRemoved
An observable which emits whenever an existing connection with the device has disconnected.
If it was the last existing connection, OnDisconnect on this device will also emit.
Declaration
IObservable<IConnection> ConnectionRemoved { get; }
Property Value
Type | Description |
---|---|
System.IObservable<IConnection> |
CurrentConnections
Retrieves a list of the currently available connections.
Declaration
List<IConnection> CurrentConnections { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<IConnection> |
Id
The ID of the device.
Declaration
IDeviceId Id { get; }
Property Value
Type | Description |
---|---|
IDeviceId |
Name
The name of the device, e.g. "Jabra Evolve2 40"
.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
ProductId
The product ID of the device,
e.g. 3648
(0x0E40
) for Jabra Evolve2 40
.
Declaration
int ProductId { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
SerialNumber
The serial number of the device.
Declaration
string SerialNumber { get; }
Property Value
Type | Description |
---|---|
System.String |
Type
The device type, e.g. headset, dongle, etc.
Declaration
DeviceType Type { get; }
Property Value
Type | Description |
---|---|
DeviceType |
VendorId
The vendor ID of the device.
Should be the Jabra vendor ID, i.e. 2830
, or 0x0B0E
.
Declaration
int VendorId { get; }
Property Value
Type | Description |
---|---|
System.Int32 |