Class: Toybox.SensorLogging.SensorLogger

Overview

Class for the SensorLogger object. This object gets passed to FIT session to start recording sensor data.

Since:

API Level 2.3.0

Instance Method Summary collapse

Instance Method Details

getStats() as SensorLoggingStats

Get statistics for the data gathered in the current session.

Returns:

Since:

API Level 2.3.0

initialize(options as { :accelerometer as { :enabled as Boolean } })

Constructor

Note:

A SensorLogger may be initialized with the same dictionary of options provided to registerSensorDataListener(), but only the options documented below will be used.

Parameters:

  • options(Dictionary)

    A Dictionary of logging options

Throws:


Generated Jun 2, 2021 8:26:20 AM