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.IdIDevice.NameIDevice.VendorIdIDevice.ProductIdIDevice.SerialNumberIDevice.TypeIDevice.ConnectionAddedIDevice.ConnectionRemovedIDevice.ConnectionListIDevice.CurrentConnectionsIDisconnectable.IsEqual(IDisconnectable)IDisconnectable.OnDisconnectIDisconnectable.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
PairWith(IDectHeadsetOverUsb, CancellationToken)
Pairs dongle with provided headset
Task<IDevice> PairWith(IDectHeadsetOverUsb headset, CancellationToken cancellationToken)
Parameters
headset
IDectHeadsetOverUsbUSB connected DECT headset
cancellationToken
CancellationTokenCancellation 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
PairWith(IDectHeadsetOverUsb, TimeSpan)
Pairs dongle with provided headset
Task<IDevice> PairWith(IDectHeadsetOverUsb headset, TimeSpan timeout)
Parameters
headset
IDectHeadsetOverUsbUSB connected DECT headset
timeout
TimeSpanThe 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