adjustPlayoutVolume abstract method

Future<void> adjustPlayoutVolume(
  1. int volume
)

Adjusts the local playback volume.

  • volume Local playback volume, ranging from 0 to 100: 0: Mute. 100: (Default) Original playback volume of the media file.

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> adjustPlayoutVolume(int volume);