AccessoryWorker
A feature that carries data between your data provider and transport extensions.
Declaration
struct AccessoryWorkerMentioned in
Overview
An accessory worker exchanges information with your accessory in the background, without waiting for a person to open your app. Create an instance of this structure in the extensionPoint of your AccessoryDataProvider extension, and open sessions from your transport extension with makeFeatureSession(_:) in response to events from your accessory. Your app defines the data format, and the Accessory Transport Extension framework treats the data as opaque, with no additional encryption. Enroll the feature for each accessory with requestAuthorization(for:). For more information, see Sending data to an accessory in the background.