Type Method

minuteUnit

Returns a HealthKit unit for measuring time in minutes.

Declaration

+ (instancetype)minuteUnit;

Return Value

A HealthKit unit for measuring time in minutes.

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.

+ hourUnit

Returns a HealthKit unit for measuring time in hours.

+ dayUnit

Returns a HealthKit unit for measuring time in days.