Class

MXAppRunTimeMetric

An object representing metrics about the amount of time the app is active.

Declaration

class MXAppRunTimeMetric : MXMetric

Topics

Reading Application Run Time

var cumulativeForegroundTime: Measurement<UnitDuration>

The total time the app is in the foreground.

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.

Relationships

Inherits From

Conforms To

See Also

Performance Metrics

class MXAppLaunchMetric

An object representing metrics about app launch time.

Beta
class MXAppResponsivenessMetric

An object representing metrics about the responsiveness of the app to user interaction.

Beta
class MXMemoryMetric

An object representing metrics about memory use.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software