---
title: TotalWiFiDownloadMetric
framework: metrickit
role: symbol
role_heading: Structure
path: metrickit/totalwifidownloadmetric
---

# TotalWiFiDownloadMetric

A metric that measures the total data downloaded over WiFi.

## Declaration

```swift
struct TotalWiFiDownloadMetric
```

## Discussion

Discussion This metric corresponds to the MetricResult.totalWiFiDownload(_:) case. It appears only in intervalEntries and is not included in state entries. This type replaces the cumulativeWifiDownload property of MXNetworkTransferMetric.

## Topics

### Measurements

- [value](metrickit/totalwifidownloadmetric/value.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

### Network metrics

- [TotalWiFiUploadMetric](metrickit/totalwifiuploadmetric.md)
- [TotalCellularUploadMetric](metrickit/totalcellularuploadmetric.md)
- [TotalCellularDownloadMetric](metrickit/totalcellulardownloadmetric.md)
