Table of Contents

Interface IDectDongle

Namespace
Jabra.NET.Sdk.DevicePairing
Assembly
Jabra.NET.Sdk.DevicePairing.dll

Represents an IDevice dongle that can be used for DECT cabled pairing

public interface IDectDongle : IDevice, IDisconnectable, IEquatable<IDisconnectable>
Inherited Members
IDevice.Id
IDevice.Name
IDevice.VendorId
IDevice.ProductId
IDevice.SerialNumber
IDevice.Type
IDevice.ConnectionAdded
IDevice.ConnectionRemoved
IDevice.ConnectionList
IDevice.CurrentConnections
IDisconnectable.IsEqual(IDisconnectable)
IDisconnectable.OnDisconnect
IDisconnectable.IsConnected

Methods

PairWith(IDectHeadsetOverUsb)

Pairs dongle with provided headset using default timeout value

Task<IDevice> PairWith(IDectHeadsetOverUsb headset)

Parameters

headset IDectHeadsetOverUsb

Returns

Task<IDevice>

Exceptions

TimeoutException

PairWith(IDectHeadsetOverUsb, CancellationToken)

Pairs dongle with provided headset

Task<IDevice> PairWith(IDectHeadsetOverUsb headset, CancellationToken cancellationToken)

Parameters

headset IDectHeadsetOverUsb

USB connected DECT headset

cancellationToken CancellationToken

Cancellation token to control how long end user is willing to wait for headset to reconnect

Returns

Task<IDevice>

New instance of device representing reconnected headset.

Remarks

Method awaits for headset to reconnect through dongle which may never happen due to external conditions

Exceptions

OperationCanceledException

PairWith(IDectHeadsetOverUsb, TimeSpan)

Pairs dongle with provided headset

Task<IDevice> PairWith(IDectHeadsetOverUsb headset, TimeSpan timeout)

Parameters

headset IDectHeadsetOverUsb

USB connected DECT headset

timeout TimeSpan

The amount of time to wait for headset to reconnect

Returns

Task<IDevice>

New instance of device representing reconnected headset.

Remarks

Method awaits for headset to reconnect through dongle which may never happen due to external conditions

Exceptions

OperationCanceledException
TimeoutException