setOutputDevice method
- DeviceDetails device
Sets the provided device
as a currently used outputDevice.
Does nothing if device
is already the outputDevice.
Implementation
Future<void> setOutputDevice(DeviceDetails device) {
Log.debug('setOutputDevice($device)', '$runtimeType');
_preferredOutputDevice = device.id();
return _setOutputDevice(device);
}