onAudioDeviceVolumeChanged property
Reports the volume change of the audio device or app.
Occurs when the volume on the playback device, audio capture device, or the volume of the app changes. This callback is for Windows and macOS only.
deviceTypeThe device type. See MediaDeviceType.volumeThe volume value. The range is0, 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;