pascalUnit(with:)
Returns a HealthKit unit for measuring pressure, using pascal units with the provided prefix.
Declaration
class func pascalUnit(with prefix: HKMetricPrefix) -> SelfParameters
- prefix:
A valid metric prefix value. For the complete list of prefix values, see Hkmetricprefix.
Return Value
A HealthKit unit for measuring pressure based on pascals and the provided prefix.