---
title: AccessoryGPUWorker.Session
framework: Accessory Transport Extension
role: symbol
role_heading: Class
platforms: [iOS 27.3+]
path: accessorytransportextension/accessorygpuworker/session
---

# AccessoryGPUWorker.Session

A class that represents the data provider within a session.

## Declaration

```swift
final class Session
```

## Overview

Overview The system creates an instance of this class when the transport extension’s AccessoryGPUWorker.FeatureSession starts, and passes it to your handler’s sessionStarted(_:) method. Hold the session weakly in your handler, and call send(data:) to send data to the transport extension.

## Topics

### Sending data

- [send(data:)](accessorytransportextension/accessorygpuworker/session/send(data:).md)
- [send(message:)](accessorytransportextension/accessorygpuworker/session/send(message:).md)

## Relationships

### Conforms To

- [AccessoryFeatureSession](accessorytransportextension/accessoryfeaturesession.md)
- [Copyable](swift/copyable.md)
- [Escapable](swift/escapable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Handling data-provider sessions

- [AccessoryGPUWorker.Handler](accessorytransportextension/accessorygpuworker/handler.md)
