setPlaybackDeviceVolume abstract method

Future<void> setPlaybackDeviceVolume(
  1. int volume
)

Sets the volume of the audio playback device.

This method applies to Windows only.

  • volume The volume of the audio playback device. The value range is 0,255.

Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.

Implementation

Future<void> setPlaybackDeviceVolume(int volume);