LSLStreamInfo constructor
LSLStreamInfo({
- String streamName = "DartLSLStream",
- LSLContentType streamType = LSLContentType.eeg,
- int channelCount = 16,
- double sampleRate = 250.0,
- LSLChannelFormat channelFormat = LSLChannelFormat.float32,
- String sourceId = "DartLSL",
- lsl_streaminfo? streamInfo,
Creates a new LSLStreamInfo object.
The streamName, streamType, channelCount, sampleRate,
channelFormat, and sourceId parameters are used to create
the stream info object.
Implementation
LSLStreamInfo({
this.streamName = "DartLSLStream",
this.streamType = LSLContentType.eeg,
this.channelCount = 16,
this.sampleRate = 250.0,
this.channelFormat = LSLChannelFormat.float32,
this.sourceId = "DartLSL",
lsl_streaminfo? streamInfo,
}) : _streamInfo = streamInfo {
if (_streamInfo != null) {
super.create();
}
}