audioOutput method

  1. @override
Future<bool> audioOutput(
  1. String deviceId
)
inherited

Return true if the audioOutput have been succesfully changed

Implementation

@override
Future<bool> audioOutput(String deviceId) async {
  try {
    await Helper.selectAudioOutput(deviceId);
  } catch (e) {
    print('Helper.selectAudioOutput ${e.toString()}');
    return false;
  }
  return true;
}