TotalBackgroundTimeMetric
A metric that measures the total time the app spent active in the background.
Declaration
struct TotalBackgroundTimeMetricDiscussion
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.