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 Devices. The state of a Device is composed of the service, port, hardwareInfo, firmware, transmissionInfo, powerLevel, runtimeInfo, label, location, and group. These properties are common to all LIFX devices, which may also implement device specific behaviour, such as ColorLights, InfraredLights, MultiZoneLights and Tiles.

    See more

    Declaration

    Swift

    public class Device
    extension Device: CustomStringConvertible
    extension Device: Equatable
    extension Device: Hashable
  • Undocumented

    See more

    Declaration

    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 more

    Declaration

    Swift

    public final class LIFXDeviceManager