carp_aware_package library

A CARP Mobile Sensing (CAMS) sampling package for collecting passive sensor data from an Apple Watch using the AWARE watchOS sensing framework.

The watch collects data while the phone app is not running, stores it in a local database on the watch, and transfers it to the paired iPhone in compressed chunks over WatchConnectivity. This package unpacks those chunks and emits them as CAMS Measurements.

This package only works on iOS / watchOS.

Classes

AppleWatchAmbientNoise
Ambient noise level measured by the microphone of the Apple Watch.
AppleWatchAmbientNoiseProbe
Collects ambient noise levels (AppleWatchAmbientNoise) from the Apple Watch.
AppleWatchAudioLabel
A sound classification made by the Apple Watch using SoundAnalysis.
AppleWatchAudioLabelProbe
Collects sound classifications (AppleWatchAudioLabel) made by the Apple Watch.
AppleWatchBattery
Battery data from the Apple Watch.
AppleWatchBatteryProbe
Collects battery data (AppleWatchBattery) from the Apple Watch.
AppleWatchBluetooth
A Bluetooth device scanned by the Apple Watch.
AppleWatchBluetoothProbe
Collects nearby Bluetooth devices (AppleWatchBluetooth) scanned by the Apple Watch.
AppleWatchData
Base class for all data collected from an Apple Watch using the AWARE watchOS framework.
AppleWatchDevice
A DeviceConfiguration for an Apple Watch running the AWARE watchOS companion app, used in a StudyProtocol.
AppleWatchDeviceInfo
Information on the Apple Watch itself and the iPhone it is paired with.
AppleWatchDeviceInfoProbe
Collects information (AppleWatchDeviceInfo) about the Apple Watch itself.
AppleWatchDeviceManager
A DeviceManager for an AppleWatchDevice.
AppleWatchDeviceRegistration
A DeviceRegistration for an AppleWatchDevice, holding the runtime information about the Apple Watch which is paired with the phone.
AppleWatchFileTransfer
Progress information on a chunk file transferred from the Apple Watch.
AppleWatchHeading
Compass heading data from the Apple Watch.
AppleWatchHeadingProbe
Collects compass heading data (AppleWatchHeading) from the Apple Watch.
AppleWatchHeartRate
Heart rate data from the Apple Watch, sampled via HealthKit.
AppleWatchHeartRateProbe
Collects heart rate data (AppleWatchHeartRate) from the Apple Watch.
AppleWatchLocation
Location data from the Apple Watch.
AppleWatchLocationProbe
Collects location data (AppleWatchLocation) from the Apple Watch.
AppleWatchMotion
Motion data from the Apple Watch, sampled at the rate specified by AppleWatchDevice.motionSamplingRate.
AppleWatchMotionProbe
Collects motion data (AppleWatchMotion) from the Apple Watch.
AppleWatchProbe
Base class for all probes collecting data from an Apple Watch.
AppleWatchRecords
A batch of records transferred from the Apple Watch to the phone.
AppleWatchSamplingPackage
A sampling package for collecting passive sensor data from an Apple Watch using the AWARE watchOS framework. Supports the following measures:
AppleWatchService
The interface to the native AWARE AppleWatchSensor running on the iPhone.
AppleWatchStatus
The runtime status of the connection between the phone and the Apple Watch.
AppleWatchTable
The names of the tables in the AWARE database on the iPhone in which the data transferred from the Apple Watch is stored.

Enums

WatchBackgroundSessionType
The runtime session the watch app uses to keep running when it is not in the foreground.
WatchBatteryState
The charging state of the Apple Watch battery.
WatchFileTransferState
The state of a chunk file transferred from the Apple Watch, as it is being processed on the phone.
WatchTransferMode
Which records the watch includes when it transfers data to the phone.