AccessoryFeatureRuntimeSessionHandler
A protocol that receives events from a transport extension’s feature session.
Declaration
protocol AccessoryFeatureRuntimeSessionHandler<Session> : SendableOverview
Conform to this protocol in your transport extension to respond to the AccessoryFeatureRuntimeSession life cycle and incoming data. The system creates an instance of your type from the handler factory closure that you pass to makeFeatureSession(_:).
A handler that serves one feature can’t serve another because each feature pins the Session associated type through its own Handler type alias (for example, AccessoryWorker.FeatureSession.Handler).
Implement the only required method, sessionStarted(_:), to send data.