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 Sep 23, 2024, 3:32:49 PM