react-native-device-info - v15.0.1
    Preparing search index...

    Function useIsBluetoothHeadphonesConnected

    • React hook that resolves to true whenever Bluetooth headphones are connected.

      Compatibility: iOS ✅ Android ✅ Windows ❌ Web ❌ visionOS ✅

      Returns AsyncHookResult<boolean>

      function BluetoothAudioIndicator() {
      const { result } = useIsBluetoothHeadphonesConnected();
      return result ? <Icon name="bluetooth-audio" /> : null;
      }