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 Jun 6, 2024 10:31:53 AM