Class: Toybox.AntPlus.DeviceState
- Inherits:
-
Toybox.Lang.Object
Overview
The DeviceState object represents the state of the device.
Fields may return null
so you should null
check values before using
them.
Instance Member Summary collapse
-
deviceNumber as Lang.Number or Null
The current Device ID being tracked/searched for.
-
state as AntPlus.DeviceCurrentState or Null
The state of the device as an DEVICE_STATE_* value.
Instance Attribute Details
var deviceNumber as Lang.Number or Null
The current Device ID being tracked/searched for.
var state as AntPlus.DeviceCurrentState or Null
The state of the device as an DEVICE_STATE_* value.