React hook that resolves to true whenever Bluetooth headphones are connected.
Compatibility:
function BluetoothAudioIndicator() { const { result } = useIsBluetoothHeadphonesConnected(); return result ? <Icon name="bluetooth-audio" /> : null;} Copy
function BluetoothAudioIndicator() { const { result } = useIsBluetoothHeadphonesConnected(); return result ? <Icon name="bluetooth-audio" /> : null;}
React hook that resolves to true whenever Bluetooth headphones are connected.
Compatibility:
