Interface IDeviceConnector
- Namespace
- Jabra.NET.Sdk.DeviceConnection
- Assembly
- Jabra.NET.Sdk.dll
public interface IDeviceConnector
Methods
ReadEvent(CancellationToken)
Read the next event from the Device Connector.
Task<EventBase> ReadEvent(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationToken
Returns
- Task<EventBase>
A task that represents the asynchronous read operation. The value of the task is the next event emitted by the Device Connector.
Start()
Start the Device Connector. No communication should be initiated by the Device Connector before start.
Task Start()
Returns
- Task
A task that represents the asynchronous start operation. It completes when the Device Connector is ready to communicate.
WriteAction(ActionBase, CancellationToken)
Write an action to the Device Connector
Task WriteAction(ActionBase action, CancellationToken cancellationToken = default)
Parameters
actionActionBasecancellationTokenCancellationToken