Bio Radio SDK - Xamarin Android
GLNeuroTech.Devices.BioRadio.VirtualDeviceAdapter Class Reference

Class is replacement for class found in original CommonDeviceApi More...

Inheritance diagram for GLNeuroTech.Devices.BioRadio.VirtualDeviceAdapter:

Public Member Functions

void FeedNextChunk ()
 Streams the next chunk of data to the virtual device. More...
 
void FeedNextChunk (int chunkSize)
 Streams a chunk of data of a specified length to the virtual device. More...
 
void Dispose ()
 Dispose method for a device. (StopAcquisition if is acquiring, Disconnect and Dispose) More...
 

Public Attributes

const int DefaultChunkSize = 32767
 The default number of bytes that will be read from the input file and fed to the virtual device input stream. This value is 32,767. More...
 

Properties

IDaqDevice BaseDevice [get, set]
 The underlying DaqDevice object receiving input data from the file. More...
 
double Progress [get]
 The percentage of the input stream that has been processed. More...
 
DateTime RecordingStartTime [get]
 The date and time at which the recording began. More...
 
bool EndOfFileReached [get]
 Indicates when the end of the input file has been reached and there is no more data to feed to the device. More...
 

Detailed Description

Class is replacement for class found in original CommonDeviceApi

Member Function Documentation

◆ Dispose()

void GLNeuroTech.Devices.BioRadio.VirtualDeviceAdapter.Dispose ( )

Dispose method for a device. (StopAcquisition if is acquiring, Disconnect and Dispose)

◆ FeedNextChunk() [1/2]

void GLNeuroTech.Devices.BioRadio.VirtualDeviceAdapter.FeedNextChunk ( )

Streams the next chunk of data to the virtual device.

◆ FeedNextChunk() [2/2]

void GLNeuroTech.Devices.BioRadio.VirtualDeviceAdapter.FeedNextChunk ( int  chunkSize)

Streams a chunk of data of a specified length to the virtual device.

Parameters
chunkSizeThe number of bytes to stream to the device.

Member Data Documentation

◆ DefaultChunkSize

const int GLNeuroTech.Devices.BioRadio.VirtualDeviceAdapter.DefaultChunkSize = 32767

The default number of bytes that will be read from the input file and fed to the virtual device input stream. This value is 32,767.

Property Documentation

◆ BaseDevice

IDaqDevice GLNeuroTech.Devices.BioRadio.VirtualDeviceAdapter.BaseDevice
getset

The underlying DaqDevice object receiving input data from the file.

◆ EndOfFileReached

bool GLNeuroTech.Devices.BioRadio.VirtualDeviceAdapter.EndOfFileReached
get

Indicates when the end of the input file has been reached and there is no more data to feed to the device.

◆ Progress

double GLNeuroTech.Devices.BioRadio.VirtualDeviceAdapter.Progress
get

The percentage of the input stream that has been processed.

◆ RecordingStartTime

DateTime GLNeuroTech.Devices.BioRadio.VirtualDeviceAdapter.RecordingStartTime
get

The date and time at which the recording began.