carp_domain library

Classes

ActiveParticipationInvitation
An invitation to participate in an active study deployment using the specified master devices. Some of the devices which the participant is invited to might already be registered. If the participant wants to use a different device, they will need to unregister the existing device first.
CustomProtocolTask
A TaskDescriptor which contains a definition on how to run tasks, measures, and triggers which differs from the CARP domain model. [...]
DeploymentDomainObject
DeploymentServiceRequest
A DeploymentServiceRequest contains the data for sending a request to the CARP web service. [...]
DeploymentSuccessful
A request for reporting this deployment as successful.
DeviceDeploymentStatus
A DeviceDeploymentStatus represents the status of a device in a deployment. [...]
DeviceDescriptor
A DeviceDescriptor represents the status of a deployment as returned from the CARP web service.
DeviceInvitation
Holds device invitation details.
DeviceRegistration
A device registration description used in a RegisterDevice request.
GetActiveParticipationInvitations
A request for getting the deployment invitations for an account id.
GetDeviceDeploymentFor
A request for getting the deployment for this master device.
GetStudyDeploymentStatus
A request for getting the status of a study deployment.
MasterDeviceDeployment
The deployment data for a master device as read from the CARP web service [...]
Participation
Uniquely identifies the participation of an account in a study deployment.
RegisterDevice
A request for registering this device.
StudyDeploymentStatus
A StudyDeploymentStatus represents the status of a deployment as returned from the CARP web service. [...]
StudyInvitation
A description of a study, shared with participants once they are invited to a study.
TaskDescriptor
Describes requested measures to be collected on a device. [...]
TriggerDescriptor
Any condition on a device (DeviceDescriptor) which starts or stops tasks at certain points in time when the condition applies. The condition can either be time-bound, based on data streams, initiated by a user of the platform, or a combination of these. [...]
TriggeredTask
Specifies a task which at some point during a StudyProtocol gets sent to a specific device. [...]
UnregisterDevice
A request for unregistering this device.

Functions

registerFromJsonFunctions() → void
Register all the fromJson functions for the deployment domain classes.