checkCurrentIsHeadphoneOrBluetooth method

bool checkCurrentIsHeadphoneOrBluetooth()

Implementation

bool checkCurrentIsHeadphoneOrBluetooth() {
  final device = _currentInput;
  if (device != null) {
    if (checkDeviceIsHeadphone(device: device) == true ||
        checkDeviceIsBluetooth(device: device) == true) {
      return true;
    }
  }
  return false;
}