Contents

TotalBackgroundAudioTimeMetric

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

Declaration

struct TotalBackgroundAudioTimeMetric

Discussion

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

This type replaces the cumulativeBackgroundAudioTime property of MXAppRunTimeMetric.

Topics

Measurements

See Also

Time-in-use metrics