luxUnit(with:)
Returns a HealthKit unit for measuring illuminance, using lux units with the provided prefix.
Declaration
class func luxUnit(with prefix: HKMetricPrefix) -> SelfParameters
- prefix:
A valid metric prefix value. For the complete list of prefix values, see Hkmetricprefix.