setPlaybackDeviceVolume abstract method

Future<void> setPlaybackDeviceVolume(
  1. int volume
)

Sets the playback device volume.

(Windows only)

  • volume Playback device volume. Value range: 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. See Error Codes for details and resolution suggestions.

Implementation

Future<void> setPlaybackDeviceVolume(int volume);