<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVSystemRouting",
  "identifier" : "/documentation/AVSystemRouting/AVSystemRouteDataDelegate-7vt4b/receive(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVSystemRouting"
    ],
    "preciseIdentifier" : "s:15AVSystemRouting0A17RouteDataDelegateP7receiveyy10Foundation0D0VYaKF"
  },
  "title" : "receive(_:)"
}
-->

# receive(_:)

Receives data sent from a connected remote applicaiton.

```
func receive(_ data: Data) async throws
```

## Parameters

`data`

The data received from the remote app.

## Discussion> Throws: An error if processing the received data fails.

---

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)