LSL class
Interface to the LSL library.
This class provides a high-level interface to the LSL library, allowing you to create and manage streams, outlets, and inlets.
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  destroy() → void 
- Cleans up all resources.
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  override
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited
Static Methods
- 
  createContinuousStreamResolver({double forgetAfter = 5.0, int maxStreams = 5}) → LSLStreamResolverContinuous 
- Creates a continuous stream resolver for efficient long-term monitoring.
- 
  createInlet<T> ({required LSLStreamInfo streamInfo, int maxBuffer = 360, int chunkSize = 0, bool recover = true, double createTimeout = LSL_FOREVER, bool includeMetadata = false, bool useIsolates = true}) → Future< LSLInlet< T> >
- Creates a new inlet object.
- 
  createOutlet({required LSLStreamInfo streamInfo, int chunkSize = 1, int maxBuffer = 360, bool useIsolates = true}) → Future< LSLOutlet> 
- Creates a new outlet object.
- 
  createResolver({int maxStreams = 5}) → LSLStreamResolver 
- 
  createStreamInfo({String streamName = "DartLSLStream", LSLContentType streamType = LSLContentType.eeg, int channelCount = 1, double sampleRate = 150.0, LSLChannelFormat channelFormat = LSLChannelFormat.float32, String sourceId = "DartLSL"}) → Future< LSLStreamInfoWithMetadata> 
- Creates a new LSLStreamInfo object.
- 
  libraryInfo() → String 
- Returns the version of the LSL library.
- 
  localClock() → double 
- Returns the local clock time, used to calculate offsets.
- 
  resolveStreams({double waitTime = 5.0, int maxStreams = 5}) → Future< List< LSLStreamInfo> >
- Discovers all available LSL streams on the network.
- 
  resolveStreamsByPredicate({required String predicate, double waitTime = 5.0, int minStreamCount = 0, int maxStreams = 5}) → Future< List< LSLStreamInfo> >
- Discovers LSL streams using XPath 1.0 predicate expressions.
- 
  resolveStreamsByProperty({required LSLStreamProperty property, required String value, double waitTime = 5.0, int minStreamCount = 0, int maxStreams = 5}) → Future< List< LSLStreamInfo> >
- Discovers LSL streams matching a specific property value.
- 
  setConfigContent(LSLApiConfig content) → void 
- Sets the configuration for the LSL library.
- 
  setConfigFilename(String filename) → void 
- Sets the configuration filename for the LSL library.