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
headsetIDectHeadsetOverUsb
Returns
- Task<IDevice>
Exceptions
PairWith(IDectHeadsetOverUsb, CancellationToken)
Pairs dongle with provided headset
Task<IDevice> PairWith(IDectHeadsetOverUsb headset, CancellationToken cancellationToken)
Parameters
headsetIDectHeadsetOverUsbUSB connected DECT headset
cancellationTokenCancellationTokenCancellation 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
headsetIDectHeadsetOverUsbUSB connected DECT headset
timeoutTimeSpanThe 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