AccessoryTransportExtension configures and manages the communication transport session between an accessory extension and its host process on iOS. You build an accessory extension by conforming to AccessoryTransportAppExtension and supplying configuration through AccessoryTransportExtensionConfiguration and AccessoryDataProviderConfiguration, then exchange data over an AccessoryTransportSession that carries AccessoryMessage and TransportMessage values. The framework also models the secured channel through AccessorySecuritySession, AccessoryTransportSecurity, and SecurityMessage, and represents the underlying link with the AccessoryTransport enum.
Building an Accessory Extension 3
The principal protocols you adopt to implement an accessory transport extension and supply its data.
- PrAccessoryTransportAppExtensionProtocol for the accessory extension's body property to conform to.
- PrAccessoryDataProviderProtocol for the accessory extension's body property to conform to.
- PrAccessoryFeatureA protocol that represents a feature an accessory extension exposes to its host.
Configuration 3
Protocols that describe how the extension, its data provider, and its security layer are configured.
- PrAccessoryTransportExtensionConfigurationConfigures and manages communication between the extension and the host process.
- PrAccessoryDataProviderConfigurationConfigures and manages communication between the extension and the host process.
- PrAccessoryTransportSecurityConfigurationConfigures and manages communication between the extension and the host process.
Transport Sessions 2
The session objects that carry data between an accessory extension and its host process.
- ClAccessoryTransportSessionManages a session between the extension and host process.
- EnAccessoryTransportSupported transport types.
Secured Channel 2
Types that establish and represent the secured communication channel with an accessory.
- ClAccessorySecuritySessionManages a session between the extension and host process.
- PrAccessoryTransportSecurityProtocol for the accessory extension's body property to conform to.
Messages 3
The value types exchanged over a transport or security session.
- StAccessoryMessageA structure that represents a message exchanged with an accessory over a transport session.
- StTransportMessageA structure that represents a message carried over the underlying transport.
- StSecurityMessageA message carrying key material used to negotiate a secure channel between a host and an accessory.