Bio Radio SDK - Xamarin Android
GLNeuroTech.Devices.Common.IDeviceManager< out out T > Interface Template Reference

Interface that describes functionality common to all GLNT device manager classes. More...

Public Member Functions

VirtualDeviceAdapter CreateVirtualDevice (System.IO.Stream inputStream)
 Creates a reference to a Virtual Device object based on the recording file that is given. More...
 
GetBluetoothDevice (long macID)
 Returns a reference to a device connected over bluetooth More...
 
GetBluetoothDevice (string deviceId)
 Returns a reference to a device connected over bluetooth More...
 
GetDeviceByComPort (string comPort)
 Returns a reference to the device at the specified COM port. More...
 
GetDeviceByTcpAddress (string hostname, int port)
 Returns the device connected at the specified hostname and port More...
 

Detailed Description

Interface that describes functionality common to all GLNT device manager classes.

Template Parameters
TA type that implments IDaqDevice
Type Constraints
T :IDaqDevice 

Member Function Documentation

◆ CreateVirtualDevice()

VirtualDeviceAdapter GLNeuroTech.Devices.Common.IDeviceManager< out out T >.CreateVirtualDevice ( System.IO.Stream  inputStream)

Creates a reference to a Virtual Device object based on the recording file that is given.

Parameters
inputStreamThe stream containing the recording
Returns

◆ GetBluetoothDevice() [1/2]

T GLNeuroTech.Devices.Common.IDeviceManager< out out T >.GetBluetoothDevice ( long  macID)

Returns a reference to a device connected over bluetooth

Parameters
macID
Returns

◆ GetBluetoothDevice() [2/2]

T GLNeuroTech.Devices.Common.IDeviceManager< out out T >.GetBluetoothDevice ( string  deviceId)

Returns a reference to a device connected over bluetooth

Parameters
deviceId
Returns

◆ GetDeviceByComPort()

T GLNeuroTech.Devices.Common.IDeviceManager< out out T >.GetDeviceByComPort ( string  comPort)

Returns a reference to the device at the specified COM port.

Parameters
comPortThe name of the COM port, e.g. "COM1"
Returns

◆ GetDeviceByTcpAddress()

T GLNeuroTech.Devices.Common.IDeviceManager< out out T >.GetDeviceByTcpAddress ( string  hostname,
int  port 
)

Returns the device connected at the specified hostname and port

Parameters
hostnameThe address of the device.
portThe port on which the device is listening
Returns
A reference to the device.

This method is currently used only for internal testing and should not be used in an application.