Contents

voltUnit(with:)

Returns a HealthKit unit for measuring the electrical potential difference in volts with the provided prefix.

Declaration

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

Parameters

  • prefix:

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

See Also

Electrical potential difference