init(for:)
Creates a sensor update sequence for the specified accessory.
Declaration
init(for accessoryIdentifier: String)Parameters
- accessoryIdentifier:
The UID identifying the accessory, obtained from the
AudioUnitinitialization parameters passed to the Audio Rendering Extension.
Discussion
Multiple iterators created from the same value — or from copies of it — all receive every packet over a single shared XPC connection. No XPC resources are acquired until the first iteration begins.