Contents

AccessoryFeatureRuntimeSession

A protocol that represents a feature session’s transport extension.

Declaration

protocol AccessoryFeatureRuntimeSession : AnyObject, Sendable

Overview

A feature runtime session is a counterpart to the data provider’s AccessoryFeatureSession for worker features (AccessoryWorker and AccessoryGPUWorker).

The framework supplies the types that conform to this protocol. Once your transport extension activates a session, the system delivers the session’s events to the AccessoryFeatureRuntimeSessionHandler you provide. Create a session with makeFeatureSession(_:) and then call activate() to start it.

Topics

Managing the session life cycle

Sending data

See Also

Managing feature sessions