onAudioDeviceVolumeChanged property
Occurs when the volume of the audio device or app changes.
This callback is triggered when the volume of an audio playback or recording device or the app changes. This callback is only applicable to Windows and macOS.
deviceTypeThe device type definition. See MediaDeviceType.volumeThe volume, ranging from0,255.mutedWhether the audio device is muted: true : The audio device is muted. false : The audio device is not muted.
Implementation
final void Function(MediaDeviceType deviceType, int volume, bool muted)?
onAudioDeviceVolumeChanged;