---
title: CellularConditionTimeMetric
framework: metrickit
role: symbol
role_heading: Structure
path: metrickit/cellularconditiontimemetric
---

# CellularConditionTimeMetric

A metric that measures time spent at each cellular signal strength.

## Declaration

```swift
struct CellularConditionTimeMetric
```

## Discussion

Discussion This metric corresponds to the MetricResult.cellularConditionTime(_:) case. It appears only in intervalEntries and is not included in state entries. The histogram represents the fraction of the reporting interval spent at each cellular signal strength tier. If no cellular data was collected during the interval, the histogram is empty. This type replaces the histogrammedCellularConditionTime property of MXCellularConditionMetric.

## Topics

### Measurements

- [histogram](metrickit/cellularconditiontimemetric/histogram.md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Time-in-use metrics

- [TotalForegroundTimeMetric](metrickit/totalforegroundtimemetric.md)
- [TotalBackgroundTimeMetric](metrickit/totalbackgroundtimemetric.md)
- [TotalBackgroundAudioTimeMetric](metrickit/totalbackgroundaudiotimemetric.md)
- [TotalBackgroundLocationTimeMetric](metrickit/totalbackgroundlocationtimemetric.md)
- [LocationActivityTimeMetric](metrickit/locationactivitytimemetric.md)
