---
title: bluetoothLE
framework: avfaudio
role: symbol
role_heading: Type Property
path: avfaudio/avaudiosession/port/bluetoothle
---

# bluetoothLE

An output to a Bluetooth Low Energy (LE) device.

## Declaration

```swift
static let bluetoothLE: AVAudioSession.Port
```

## Discussion

Discussion Apple supports the use of Bluetooth Low Energy (LE) hearing aids. Apps don’t have control over routing to these devices. Instead, the system automatically decides when routing to Bluetooth LE is appropriate. To determine if audio is being routed to a Bluetooth LE device, inspect the current audio route and look for the presence of a Bluetooth LE port, as shown in the following code example. var routingToBLE = false let session = AVAudioSession.sharedInstance() // Iterate over the currentRoute's outputs. for portDesc in session.currentRoute.outputs where portDesc.portType == .bluetoothLE {     routingToBLE = true     break }

## See Also

### Getting Output Ports

- [airPlay](avfaudio/avaudiosession/port/airplay.md)
- [bluetoothA2DP](avfaudio/avaudiosession/port/bluetootha2dp.md)
- [builtInReceiver](avfaudio/avaudiosession/port/builtinreceiver.md)
- [builtInSpeaker](avfaudio/avaudiosession/port/builtinspeaker.md)
- [HDMI](avfaudio/avaudiosession/port/hdmi.md)
- [headphones](avfaudio/avaudiosession/port/headphones.md)
- [lineOut](avfaudio/avaudiosession/port/lineout.md)
- [mediaDeviceExtension](avfaudio/avaudiosession/port/mediadeviceextension.md)
