switchToUser method

Future<bool> switchToUser()

Implementation

Future<bool> switchToUser() async {
  var result = false;
  if (_haveBluetooth()) {
    result = await AudioManager().switchToBluetooth();
  } else {
    result = await AudioManager().switchToEarpiece();
  }
  return result;
}