SmartphoneDeploymentExecutorSamplingState
The sampling state of a SmartphoneDeploymentExecutor and its task controls.
Stored as SmartphoneStudy.samplingState so that each task control can be resumed or kept paused after an app restart.
- Inheritance
-
- Object
- Serializable
- SamplingState
- SmartphoneDeploymentExecutorSamplingState
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
SmartphoneDeploymentExecutorSamplingState.fromJson
SmartphoneDeploymentExecutorSamplingState
- ExecutorState state,
- String studyDeploymentId,
- List<
TaskControlExecutorSamplingState> taskControlSamplingStates
Properties
fromJsonFunction
The function which can convert a JSON string to an object of this type.
studyDeploymentId
getter/setter pair
The id of the study deployment this state belongs to.
taskControlSamplingStates
getter/setter pair
The sampling state of each TaskControlExecutor in the deployment.
Methods
toJson
Return a JSON encoding of this object.