Class: Toybox.SensorHistory.SensorSample

Overview

A class containing sensor data at a given time.

Since:

API Level 2.1.0

Instance Member Summary collapse

Instance Attribute Details

var data as Lang.Number or Lang.Float or Null

The Sensor sample.

The Sensor sample may contain invalid data. Make sure to has check for invalid samples. If the samples do not contain data, they will return null.

Since:

API Level 2.1.0

Returns:

var when as Time.Moment

The time of the Sensor sample.

Since:

API Level 2.1.0

Returns:


Generated Apr 17, 2024 9:40:38 AM