---
title: "receive(_:)"
framework: avsystemrouting
role: symbol
role_heading: Instance Method
path: "avsystemrouting/avsystemroutedatadelegate-7vt4b/receive(_:)"
---

# receive(_:)

Receives data sent from a connected remote applicaiton.

## Declaration

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

## Parameters

- `data`: The data received from the remote app.

## Discussion

Discussion note: An error if processing the received data fails.
