Class: Toybox.Sensor.SensorInfo
- Inherits:
-
Toybox.Lang.Object
Overview
A class describing a Sensor
The SensorInfo provides access to the attributes of a Sensor.
Instance Member Summary collapse
-
data as Lang.Dictionary or Null
The Sensor-specific data A dictionary of sensor-specific attributes.
-
enabled as Lang.Boolean
The Sensor enabled flag.
-
manufacturerId as Lang.Number
The Sensor manufacturer.
-
name as Lang.String
The Sensor name.
-
partNumber as Lang.Number
The Sensor part number.
-
softwareVersion as Lang.Number
The Sensor software version.
-
technology as Sensor.SensorTechnology
The Sensor technology The technology used to communicate with this sensor.
-
type as Sensor.SensorType
The Sensor type.
Instance Attribute Details
var data as Lang.Dictionary or Null
var enabled as Lang.Boolean
The Sensor enabled flag.
An indicator of whether or not the sensor is enabled for pairing.
var manufacturerId as Lang.Number
The Sensor manufacturer.
The manufacturer id of the sensor. May be null
.
var name as Lang.String
The Sensor name.
The name of the sensor.
var partNumber as Lang.Number
The Sensor part number.
The part number the sensor. May be null
.
var softwareVersion as Lang.Number
The Sensor software version.
The software version of the sensor. May be null
.
var technology as Sensor.SensorTechnology
The Sensor technology
The technology used to communicate with this sensor.
var type as Sensor.SensorType
The Sensor type.
The type of the sensor.