<!--
{
  "availability" : [
    "iOS: 27.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AccessoryTransportExtension",
  "identifier" : "/documentation/AccessoryTransportExtension/AccessoryGPUWorker/FeatureSession",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Accessory Transport Extension",
      "AccessoryTransportExtension"
    ],
    "preciseIdentifier" : "s:27AccessoryTransportExtension0A9GPUWorkerV14FeatureSessionC"
  },
  "title" : "AccessoryGPUWorker.FeatureSession"
}
-->

# AccessoryGPUWorker.FeatureSession

A class that represents the session’s transport extension.

```
final class FeatureSession
```

## Overview

When the session starts, the system starts a matching [`AccessoryGPUWorker.Session`](/documentation/AccessoryTransportExtension/AccessoryGPUWorker/Session) on the data provider. Create a session of this type with [`makeFeatureSession(_:)`](/documentation/AccessoryTransportExtension/AccessoryTransportSession/makeFeatureSession(_:)), then call [`activate()`](/documentation/AccessoryTransportExtension/AccessoryFeatureRuntimeSession/activate()) to start it. Call [`invalidate()`](/documentation/AccessoryTransportExtension/AccessoryFeatureRuntimeSession/invalidate()) before you release an activated session.

## Topics

### Creating a handler

[`typealias Handler`](/documentation/AccessoryTransportExtension/AccessoryGPUWorker/FeatureSession/Handler)

A handler type for the session’s transport extension.

## Relationships

### Conforms To

[`AccessoryFeatureRuntimeSession`](/documentation/AccessoryTransportExtension/AccessoryFeatureRuntimeSession)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)