Instance Property

cumulativeForegroundTime

The total time the app is in the foreground.

Declaration

var cumulativeForegroundTime: Measurement<UnitDuration> { get }

See Also

Reading Application Run Time

var cumulativeBackgroundTime: Measurement<UnitDuration>

The total time the app is active in the background.

var cumulativeBackgroundAudioTime: Measurement<UnitDuration>

The total time the app is in the background and playing audio.

var cumulativeBackgroundLocationTime: Measurement<UnitDuration>

The total time the app is in the background and using location services.