Start sampling on a device. This function returns immediately. Updates are streamed through the websocket API.
Project ID
Device ID
Label to be used during sampling.
Requested length of the sample (in ms).
Which acquisition category to sample data into.
Interval between samples (can be calculated like 1/hz * 1000
)
The sensor to sample from.
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)