---
title: "send(message:)"
framework: accessorynotifications
role: symbol
role_heading: Instance Method
path: "accessorynotifications/notificationsforwarding/accessorynotificationssession/send(message:)"
---

# send(message:)

Sends a message to the paired accessory.

## Declaration

```swift
func send(message: AccessoryMessage) async throws
```

## Parameters

- `message`: The message to send to the accessory.

## Discussion

Discussion Create an AccessoryMessage containing your notification data and send it to your accessory. The system encrypts the message before delivering it to the transport extension for transmission.
