Contents

TotalBackgroundTimeMetric

A metric that measures the total time the app spent active in the background.

Declaration

struct TotalBackgroundTimeMetric

Discussion

This metric corresponds to the MetricResult.totalBackgroundTime(_:) case. It appears in both intervalEntries and stateEntries when state reporting is enabled.

This type replaces the cumulativeBackgroundTime property of MXAppRunTimeMetric.

Topics

Measurements

See Also

Time-in-use metrics