SDK Reference v2.0.0 / ProjectDataCollectionSettings

ProjectDataCollectionSettings

struct ProjectDataCollectionSettings : Decodable

Settings related to data collection for a participant and their project.


fitbitEnabled
let fitbitEnabled: Bool

Indicates whether Fitbit data collection is enabled for this project.

ehrEnabled
let ehrEnabled: Bool

Indicates whether Electronic Health Record data collection is enabled for this project.

airQualityEnabled
let airQualityEnabled: Bool

Indicates whether Air Quality data collection is enabled for this project.

weatherEnabled
let weatherEnabled: Bool

Indicates whether Weather data collection is enabled for this project.

queryableDeviceDataTypes
let queryableDeviceDataTypes: Set<QueryableDeviceDataType>

A collection of device data types that are supported by the current project configuration and can be queried using ParticipantSession.queryDeviceData. A participant may not have data available for all data types.

This includes data types for all DeviceDataNamespaces, except for the project namespace: although project-scoped device data can also be fetched using queryDeviceData, SDK developers manage which data types exist within their project’s namespace.

sensorDataCollectionEndDate
let sensorDataCollectionEndDate: Date?

Date when sensor data collection ended or will end for this participant.

More Info: Stopping Device Data Collection.