<!--
{
  "availability" : [
    "iOS: 14.0.0 - 27.2.0",
    "iPadOS: 14.0.0 - 27.2.0",
    "macCatalyst: 14.0.0 - 27.0.0",
    "macOS: 12.0.0 - 27.2.0",
    "visionOS: 1.0.0 - 27.2.0"
  ],
  "documentType" : "symbol",
  "framework" : "MetricKit",
  "identifier" : "/documentation/MetricKit/MXMetricManagerSubscriber/didReceive(_:)-9yd4u",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "MetricKit"
    ],
    "preciseIdentifier" : "c:objc(pl)MXMetricManagerSubscriber(im)didReceiveDiagnosticPayloads:"
  },
  "title" : "didReceive(_:)"
}
-->

# didReceive(_:)

Delivers new diagnostic reports to the object registered with the metrics manager.

```
optional func didReceive(_ payloads: [MXDiagnosticPayload])
```

## Parameters

`payloads`

An array of new diagnostic reports.

## Discussion

The system calls this method at most once per day. It’s safe to process the payload on a separate thread.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)