Contents

totalActivityDuration

Access the total activity time during the activity segment.

Declaration

var totalActivityDuration: TimeInterval

Discussion

This value represents the total amount of time the device’s screen remained on during dateInterval.

See Also

Measuring activity