---
title: allMetrics()
framework: avfoundation
role: symbol
role_heading: Instance Method
path: avfoundation/avmetriceventstreampublisher/allmetrics()
---

# allMetrics()

## Declaration

```swift
func allMetrics() -> AVMetrics<AVMetricEvent>
```

## See Also

### Getting the metrics

- [metrics(forType:)](avfoundation/avmetriceventstreampublisher/metrics(fortype:).md)
