audioOutput property
AudioOutput
get
audioOutput
Implementation
static AudioOutput get audioOutput {
final OperationResult result = staticMethod(
'SoundService',
'getAudioOutput',
);
return AudioOutputExtension.fromId(result['result']);
}
set
audioOutput
(AudioOutput audioOutput)
Select the audio output type.
Changing the audio output may require special permissions on Android when using Bluetooth as phone call. See AudioOutput.bluetoothAsPhoneCall for more information.
Parameters
audioOutput: Desired audio output (see AudioOutput).
Implementation
static set audioOutput(AudioOutput audioOutput) {
staticMethod('SoundService', 'setAudioOutput', args: audioOutput.id);
}