An entry of metric data aggregated by a collection interval.
Members (3)
get · iOS 27.0+
states
TypeScript
get states(): Array<MetricManager_ReportedState>
Swift declaration
let states: [MetricManager.ReportedState]
All states that were active during this collection interval.
This array contains all the StateReporting states that occurred within the interval.
The array may be empty if no StateReporting context was active during the interval.
get · iOS 27.0+
values
TypeScript
get values(): Array<MetricResult>
Swift declaration
let values: [MetricResult]
The metric values for this entry.
get · iOS 27.0+
duration
TypeScript
get duration(): _Foundation_Measurement<_Foundation_UnitDuration>