---
title: "send(data:)"
framework: Accessory Transport Extension
role: symbol
role_heading: Instance Method
platforms: [iOS 27.3+]
path: "accessorytransportextension/accessoryfeatureruntimesession/send(data:)"
---

# send(data:)

Sends data to the data provider extension.

## Declaration

```swift
func send(data: Data) async throws
```

## Parameters

- `data`: The data to send.

## Discussion

Discussion Your app defines the data format. Send data only after the system calls sessionStarted(_:).
