Interface IDeviceManager
This interface is a work in progress. It is not production ready.
Assembly: Device.Net.dll
Syntax
public interface IDeviceManager
Properties
ConnectedDevicesObservable
Declaration
IObservable<IReadOnlyCollection<ConnectedDeviceDefinition>> ConnectedDevicesObservable { get; }
Property Value
SelectedDevice
Declaration
IDevice SelectedDevice { get; }
Property Value
Methods
QueueRequest(IRequest)
Declaration
void QueueRequest(IRequest request)
Parameters
SelectDevice(ConnectedDeviceDefinition)
Declaration
void SelectDevice(ConnectedDeviceDefinition connectedDevice)
Parameters
Start()
Declaration
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
WriteAndReadAsync<TResponse>(IRequest, Func<Byte[], TResponse>)
Declaration
Task<TResponse> WriteAndReadAsync<TResponse>(IRequest request, Func<byte[], TResponse> convertFunc)
Parameters
Type |
Name |
Description |
IRequest |
request |
|
System.Func<System.Byte[], TResponse> |
convertFunc |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResponse> |
|
Type Parameters
Name |
Description |
TResponse |
|