onAudioDeviceVolumeChanged property
getter/setter pair
The callback triggered when there is a change of the volume for the audio devices.
Available since: 1.1.0
Description: Audio device volume change event callback.
When to trigger: After calling the startAudioDeviceVolumeMonitor
function to start the device volume monitor, and the volume of the monitored audio device changes.
Platform differences: Only supports Windows and macOS.
deviceType
Audio device typedeviceID
Audio device IDvolume
audio device volume
Implementation
static void Function(
ZegoAudioDeviceType deviceType, String deviceID, int volume)?
onAudioDeviceVolumeChanged;