Contents

luxUnit(with:)

Returns a HealthKit unit for measuring illuminance, using lux units with the provided prefix.

Declaration

class func luxUnit(with prefix: HKMetricPrefix) -> Self

Parameters

  • prefix:

    A valid metric prefix value. For the complete list of prefix values, see Hkmetricprefix.