Skip to content

DataStreamsConfiguration

Configures the set of ExpectedDataStreams for a study deployment.

Derived from the protocol by StudyDeployment.requiredDataStreams and passed to DataStreamService.openDataStreams.

Annotations

Constructors

DataStreamsConfiguration.fromJson

DataStreamsConfiguration.fromJson(
  1. Map<String, dynamic> json
)

DataStreamsConfiguration

DataStreamsConfiguration({
  1. required String studyDeploymentId,
  2. required Set<ExpectedDataStream> expectedDataStreams,
})

Properties

expectedDataStreams

Set<ExpectedDataStream> expectedDataStreams
getter/setter pair

The data streams to accept data for.

studyDeploymentId

String studyDeploymentId
getter/setter pair

The study deployment the data streams belong to.

Methods

toJson

Map<String, dynamic> toJson()