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


9275
9276
# File 'Monkeybrains.rb', line 9275

def initialize(options)
end

Instance Method Details

getStatsSensorLoggingStats

Get statistics for the data gathered in the current session.

Returns:

Since:

  • 2.3.0


9281
9282
# File 'Monkeybrains.rb', line 9281

def getStats()
end