Class DectDeviceAwaiter
- Namespace
- Jabra.NET.Sdk.DevicePairing
- Assembly
- Jabra.NET.Sdk.DevicePairing.dll
Helper class that can be used to simplify selection of DECT cabled pairing compatible devices
public class DectDeviceAwaiter : IDectDeviceAwaiter
- Inheritance
-
DectDeviceAwaiter
- Implements
- Inherited Members
Constructors
DectDeviceAwaiter(IApi)
Initializes new instance of DectDeviceAwaiter
public DectDeviceAwaiter(IApi api)
Parameters
api
IApi
Methods
FirstDongleAsync()
Returns the first DECT dongle using default timeout
public Task<IDectDongle> FirstDongleAsync()
Returns
Exceptions
FirstDongleAsync(CancellationToken)
Returns the first DECT dongle
public Task<IDectDongle> FirstDongleAsync(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationToken
Returns
Exceptions
FirstDongleAsync(TimeSpan)
Returns the first DECT dongle using provided timeout
public Task<IDectDongle> FirstDongleAsync(TimeSpan timeout)
Parameters
timeout
TimeSpan
Returns
Exceptions
FirstHeadsetOverUsbAsync()
Returns the first DECT headset connected over USB using default timeout
public Task<IDectHeadsetOverUsb> FirstHeadsetOverUsbAsync()
Returns
Exceptions
FirstHeadsetOverUsbAsync(CancellationToken)
Returns the first DECT headset connected over USB
public Task<IDectHeadsetOverUsb> FirstHeadsetOverUsbAsync(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationToken
Returns
Exceptions
FirstHeadsetOverUsbAsync(TimeSpan)
Returns the first DECT headset connected over USB using provided timeout
public Task<IDectHeadsetOverUsb> FirstHeadsetOverUsbAsync(TimeSpan timeout)
Parameters
timeout
TimeSpan