SmartphoneDeployment.fromMasterDeviceDeploymentAndSmartphoneStudyProtocol constructor
SmartphoneDeployment.fromMasterDeviceDeploymentAndSmartphoneStudyProtocol({
- String? studyDeploymentId,
- required MasterDeviceDeployment deployment,
- required SmartphoneStudyProtocol protocol,
Create a SmartphoneDeployment that combines a MasterDeviceDeployment
and
a SmartphoneStudyProtocol.
Implementation
SmartphoneDeployment.fromMasterDeviceDeploymentAndSmartphoneStudyProtocol({
String? studyDeploymentId,
required MasterDeviceDeployment deployment,
required SmartphoneStudyProtocol protocol,
}) : this(
studyDeploymentId: studyDeploymentId,
deviceDescriptor: deployment.deviceDescriptor,
configuration: deployment.configuration,
connectedDevices: protocol.connectedDevices,
connectedDeviceConfigurations:
deployment.connectedDeviceConfigurations,
tasks: protocol.tasks.toList(),
triggers: protocol.triggers,
triggeredTasks: protocol.triggeredTasks,
studyDescription: protocol.studyDescription,
dataEndPoint: protocol.dataEndPoint,
);