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