---
title: NotificationsForwarding.AccessoryNotificationsSession
framework: accessorynotifications
role: symbol
role_heading: Protocol
path: accessorynotifications/notificationsforwarding/accessorynotificationssession
---

# NotificationsForwarding.AccessoryNotificationsSession

A protocol that enables bidirectional communication between your extension and the system.

## Declaration

```swift
protocol AccessoryNotificationsSession : Sendable
```

## Overview

Overview Use the session object provided to didActivate(for:) to send messages to your accessory and communicate notification responses back to the system.

## Topics

### Sending messages to accessory

- [send(message:)](accessorynotifications/notificationsforwarding/accessorynotificationssession/send(message:).md)

### Communicating responses

- [sendResponse(_:)](accessorynotifications/notificationsforwarding/accessorynotificationssession/sendresponse(_:).md)

### Removing notifications

- [removeNotifications(identifiers:)](accessorynotifications/notificationsforwarding/accessorynotificationssession/removenotifications(identifiers:).md)
- [removeNotifications(withIdentifiers:sourceIdentifier:)](accessorynotifications/notificationsforwarding/accessorynotificationssession/removenotifications(withidentifiers:sourceidentifier:).md)

## Relationships

### Inherits From

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

### Conforming Types

- [NotificationsForwarding.Session](accessorynotifications/notificationsforwarding/session.md)

## See Also

### Managing notification sessions

- [NotificationsForwarding.Session](accessorynotifications/notificationsforwarding/session.md)
