Class: Toybox.Sensor.MagnetometerData

Overview

A class to store magnetometerData sample data.

Each field specified is an Array of Number values. The values for the x, y, and z axes are in milliGauss (mG) This is typically used in a callback method used by registerSensorDataListener()

See Also:

Since:

API Level 3.3.0

Supported Devices:

Instance Member Summary collapse

Instance Attribute Details

var x as Lang.Array<Lang.Number>

The Array of x axis values as Numbers in milliGauss.

Since:

API Level 3.3.0

Returns:

var y as Lang.Array<Lang.Number>

The Array of y axis values as Numbers in milliGauss.

Since:

API Level 3.3.0

Returns:

var z as Lang.Array<Lang.Number>

The Array of z axis values as Numbers in milliGauss.

Since:

API Level 3.3.0

Returns:


Generated Dec 11, 2024, 8:58:43 AM