DataStreamConfig constructor

DataStreamConfig({
  1. required String name,
  2. required int channels,
  3. required double sampleRate,
  4. required StreamDataType dataType,
  5. StreamParticipationMode participationMode = StreamParticipationMode.sendAllReceiveCoordinator,
  6. bool precisePolling = true,
})

Creates a data stream configuration. The number of channels, sample rate, and data type must be specified.

Implementation

DataStreamConfig({
  required super.name,
  required super.channels,
  required super.sampleRate,
  required super.dataType,
  this.participationMode = StreamParticipationMode.sendAllReceiveCoordinator,
  this.precisePolling = true,
});