Classes
The following classes are available globally.
-
A
Device
, is a LIFX product independent of its specific type.Device messages control and acquire the state of the
See moreDevices
. The state of aDevice
is composed of theservice
,port
,hardwareInfo
,firmware
,transmissionInfo
,powerLevel
,runtimeInfo
,label
,location
, andgroup
. These properties are common to all LIFX devices, which may also implement device specific behaviour, such asColorLight
s,InfraredLight
s,MultiZoneLight
s andTile
s.Declaration
Swift
public class Device
extension Device: CustomStringConvertible
extension Device: Equatable
extension Device: Hashable
-
Undocumented
See moreDeclaration
Swift
@propertyWrapper public class FutureValue<T>
extension FutureValue: Hashable where T: Hashable
extension FutureValue: Equatable where T: Equatable
extension FutureValue: CustomStringConvertible where T: CustomStringConvertible
-
Undocumented
See moreDeclaration
Swift
public final class LIFXDeviceManager