Class: Toybox::SensorLogging::SensorLogger

Inherits:
Lang::Object show all

Overview

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

Since:

  • 2.3.0

Instance Method Summary collapse

Methods inherited from Lang::Object

equals, hashCode, method, toString, weak

Constructor Details

initialize(options) ⇒ SensorLogger

Note:

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

Returns a new instance of SensorLogger

Parameters:

Options Hash (options):

Raises:

Since:

  • 2.3.0


10434
10435
# File 'Monkeybrains.rb', line 10434

def initialize(options)
end

Instance Method Details

getStatsSensorLoggingStats

Get statistics for the data gathered in the current session.

Returns:

Since:

  • 2.3.0


10440
10441
# File 'Monkeybrains.rb', line 10440

def getStats()
end