getAudioDeviceVolume method

Future<int> getAudioDeviceVolume(
  1. ZegoAudioDeviceType deviceType,
  2. String deviceID
)

Get volume for the specified audio device.

Get volume for the specified audio device. Only for Windows / macOS / Linux

  • deviceType Audio device type
  • deviceID ID of a device obtained by getAudioDeviceList
  • Returns Device volume

Implementation

Future<int> getAudioDeviceVolume(
    ZegoAudioDeviceType deviceType, String deviceID) async {
  return await ZegoExpressImpl.instance
      .getAudioDeviceVolume(deviceType, deviceID);
}