Type Method

hourUnit

Returns a HealthKit unit for measuring time in hours.

Declaration

+ (instancetype)hourUnit;

Return Value

A HealthKit unit for measuring time in hours.

See Also

Constructing Time Units

+ secondUnit

Returns a HealthKit unit for measuring time in seconds.

+ secondUnitWithMetricPrefix:

Returns a HealthKit unit for measuring time, using second units with the provided prefix.

+ minuteUnit

Returns a HealthKit unit for measuring time in minutes.

+ dayUnit

Returns a HealthKit unit for measuring time in days.