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.
deviceType
The device type. See MediaDeviceType.volume
The volume value. The range is0, 255
.muted
Whether 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;