Class: Toybox::SensorLogging::SensorLoggingStats

Inherits:
Lang::Object
  • Object
show all

Overview

Class for the sensor logging status.

Since:

  • 2.3.0

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Lang::Object

equals, hashCode, method, toString, weak

Constructor Details

initializeSensorLoggingStats

Returns a new instance of SensorLoggingStats

Since:

  • 2.3.0


10414
10415
# File 'Monkeybrains.rb', line 10414

def initialize()
end

Instance Attribute Details

sampleCountToybox::Lang::Number

The total number of logged samples

Returns:

Since:

  • 2.3.0


10408
10409
10410
# File 'Monkeybrains.rb', line 10408

def sampleCount
  @sampleCount
end

samplePeriodToybox::Lang::Number

The total number of seconds of logged data

Returns:

Since:

  • 2.3.0


10413
10414
10415
# File 'Monkeybrains.rb', line 10413

def samplePeriod
  @samplePeriod
end