get Total Duration
Returns total sleep duration (includes duration of awakes) in specified time units.
Return
total sleep duration in specified time units
Parameters
units
time units of resulted sleep duration.
Returns total sleep duration (includes duration of awakes) in specified time units.
total sleep duration in specified time units
time units of resulted sleep duration.