---
title: AccessoryWorker.FeatureSession
framework: Accessory Transport Extension
role: symbol
role_heading: Class
platforms: [iOS 27.3+]
path: accessorytransportextension/accessoryworker/featuresession
---

# AccessoryWorker.FeatureSession

A class that represents the session’s transport extension.

## Declaration

```swift
final class FeatureSession
```

## Mentioned in

Sending data to an accessory in the background

## Overview

Overview When the session starts, the system starts a matching AccessoryWorker.Session on the data provider. Create a session of this type with makeFeatureSession(_:), then call activate() to start it. Call invalidate() before you release an activated session.

## Topics

### Creating a handler

- [AccessoryWorker.FeatureSession.Handler](accessorytransportextension/accessoryworker/featuresession/handler.md)

## Relationships

### Conforms To

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