<!--
{
  "availability" : [
    "iOS: 26.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AudioAccessoryKit",
  "identifier" : "/documentation/AudioAccessoryKit/AccessoryControlDevice/Configuration-swift.struct/secondaryAudioSourceDeviceIdentifier",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AudioAccessoryKit"
    ],
    "preciseIdentifier" : "s:17AudioAccessoryKit0B13ControlDeviceC13ConfigurationV09secondarya6SourceE10Identifier10Foundation4DataVSgvp"
  },
  "title" : "secondaryAudioSourceDeviceIdentifier"
}
-->

# secondaryAudioSourceDeviceIdentifier

The Bluetooth address of the device
providing the secondary source of audio.

```
var secondaryAudioSourceDeviceIdentifier: Data?
```

## Discussion

If there’s only one device connected,
set it as the primary device.
If the accessory doesn’t support
the [`audioSwitching`](/documentation/AudioAccessoryKit/AccessoryControlDevice/Capabilities/audioSwitching) capability,
the value of this property is always `nil`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)