One Logo Pool Ball
MetricKit · IOS API REFERENCE

MetricReport.IntervalEntry

struct · iOS 27.0+ · SDK 27.1

struct IntervalEntry

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>
Swift declaration
let duration: Measurement<UnitDuration>

The duration of this collection interval.

Skipped declarations

No declarations were skipped in this snapshot.

All MetricKit types →