setAllMusicVolume method

Future<void> setAllMusicVolume(
  1. int volume
)

Set the local and remote volumes of global background music

Parameters:

volume Volume. 100 is the normal volume. Value range: 0100. Default value: 100

Implementation

Future<void> setAllMusicVolume(int volume) {
  return _channel.invokeMethod('setAllMusicVolume', {"volume": volume});
}