RuntimeInfo

public struct RuntimeInfo

Provides run-time information of a Device.

  • Current time on the light (absolute time in nanoseconds in Unix time).

    Declaration

    Swift

    public let time: UInt64
  • Time since last power on (relative time in nanoseconds in Unix time).

    Declaration

    Swift

    public let uptime: UInt64
  • Last power off period, 5 second accuracy (in nanoseconds).

    Declaration

    Swift

    public let downtime: UInt64