Type Method

secondUnit

Returns a HealthKit unit for measuring time in seconds.

Declaration

+ (instancetype)secondUnit;

Return Value

A HealthKit unit for measuring time in seconds.

See Also

Constructing Time Units

+ 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.

+ hourUnit

Returns a HealthKit unit for measuring time in hours.

+ dayUnit

Returns a HealthKit unit for measuring time in days.