Returns a HealthKit unit for measuring length, using meter units with the provided prefix.
- iOS 8.0+
- Mac Catalyst 13.0+
- watchOS 2.0+
A valid metric prefix value. For the complete list of prefix values, see
A HealthKit unit for measuring length based on meters and the provided prefix.
This method is used to create prefixed versions of meters. Common uses include creating kilometer and centimeter units, as shown below.