lsl_flutter library

A library for interacting with the Lab Streaming Layer

Classes

CftStringChannelFormat
Represents a string channel format
ChannelFormat<T>
An abstract class for all channel formats
DartTimestamp
A Dart type timstamp
Double64ChannelFormat
Represents a 32-bit float channel format
DoubleChannelFormat
Represents all double channel formats
Float32ChannelFormat
Represents a 32-bit float channel format
Inlet<S>
Domain class for an inlet
InletManager<S>
An object used to manage inlets and its associated functions.
InletWorker
An isolate worker class for inlets
Int16ChannelFormat
Represents a 16-bit integer channel format
Int32ChannelFormat
Represents a 32-bit integer channel format
Int64ChannelFormat
Represents a 64-bit integer channel format
Int8ChannelFormat
Represents an 8-bit integer channel format
IntChannelFormat
Represents all integer channel formats
LslTimestamp
A timestamp in LSL format
Outlet<S>
Domain class for an outlet
OutletConfig
An outlet configuration object
OutletManager<S>
A service for interacting with a single outlet.
OutletWorker
An isolate worker class for outlets
ResolvedStreamHandle
Encapsulates the id of a resolved stream
StreamInfo<S>
Domain class for stream information
StreamInfoFactory
Handles the creation of stream info objects depending on data type
StreamManager
A service for interacting with stream, e.g. resolving them.
StringChannelFormat
Represents all string channel formats
Timestamp
A timestamp to be used when pushing samples or chunks

Enums

OffsetMode
How should offsets between the devices current time and provided timestamps be handled in the outlet manager.
ProcessingOptions
The available post-processing options for an inlet.

Functions

intervalToFrequency(Duration duration) double
Converts an interval (from a Duration object) to its corresponding frequency in Hz

Typedefs

Chunk<T> = List<Sample<T>>
List representing a chunk, which is just a list of samples.
Sample<T> = (List<T>, double)
A tuple representing a sample. The first property is the data, where the length of the list represents the number of channels. The second property is the timestamp.
TimeOffset = (double, double)
A tuple holding the timestamp when the offset was collected, and the offset itself.