Contents

AccessoryGPUWorker.Session

A class that represents the data provider within a session.

Declaration

final class Session

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

See Also

Handling data-provider sessions