The application state in which performance data is collected
Members (4)
get · iOS 27.0+
stableMetadata
TypeScript
get stableMetadata(): Record<string, _StateReporting_ReportableMetadataValue>
Swift declaration
let stableMetadata: [String : ReportableMetadataValue]
Context dictionary containing state-specific information
ReportableMetadataValue is defined in the StateReporting framework.
- Note: Only stable metadata from StateReporting are aggregated in MetricKit.
get · iOS 27.0+
label
TypeScript
get label(): string
Swift declaration
let label: String
The state label
get · iOS 27.0+
domain
TypeScript
get domain(): string
Swift declaration
let domain: String
The StateReporting domain this state belongs to
get · iOS 27.0+
duration
TypeScript
get duration(): _Foundation_Measurement<_Foundation_UnitDuration>
Swift declaration
let duration: Measurement<UnitDuration>
The duration when the state was active during performance data collection.