Contents

longestActivity

Access the date interval of the longest activity session during the activity segment.

Declaration

var longestActivity: DateInterval?

Discussion

This value may be nil if the person didn’t use this device during dateInterval.

See Also

Measuring activity