An option that determines whether you can stream audio from this session to Bluetooth devices that support the Advanced Audio Distribution Profile (A2DP).
- iOS 10.0+
- Mac Catalyst 13.0+
- tvOS 10.0+
- watchOS 3.0+
A2DP is a stereo, output-only profile intended for higher bandwidth audio use cases, such as music playback. The system automatically routes to A2DP ports if you configure an app’s audio session to use the
Starting with iOS 10.0, apps using the
AVAudio category may also allow routing output to paired Bluetooth A2DP devices. To enable this behavior, pass this category option when setting your audio session’s category.
Audio sessions using the
AVAudio categories implicitly clear this option. If you clear it, paired Bluetooth A2DP devices don’t show up as available audio output routes.