AppleWatchDevice is a device configuration in the study protocol, and its settings are handed to the watch app over WatchConnectivity.

Sensors

Motion

motionSamplingRate is the setting with the largest effect on both battery life and data volume, and the two scale together:

Sound

Sound sensing is off by default and needs two switches: the microphone itself, and what to do with it.

Background runtime

This setting allows the app to continue running in the background when the wrist is lowered.

Transferring data to the phone

fileTransferInterval sets how fresh the data is. A shorter interval means less delay but more radio wake-ups on both devices. transferMode: deleteAfterTransfer keeps storage on the watch bounded. Setting it to false keeps a local backup on the watch, at the cost of ever-growing disk use — combined with transferMode: all, transfer cost grows without limit.

Phone-side and advanced settings

saveToLocalAwareDatabase is a phone-side setting and is not forwarded to the watch. awareServerUrl points the watch at an AWARE server of your own, bypassing the phone and CARP entirely. Leave it null in a normal CARP study. enableNativeLogging is useful while bringing a study up: it makes the native AWARE framework print what it is doing to the Xcode console.

All properties