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

| Bio Radio SDK - Xamarin Android

Public Member Functions | List of all members
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...
T | GetBluetoothDevice (long macID)
| Returns a reference to a device connected over bluetooth More...
T | GetBluetoothDevice (string deviceId)
| Returns a reference to a device connected over bluetooth More...
T | GetDeviceByComPort (string comPort)
| Returns a reference to the device at the specified COM port. More...
T | 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

  T | A 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

  inputStream | The 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

  comPort | The 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

  hostname | The address of the device.
  port | The 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.