setAllMusicVolume method
- int volume
Set the local and remote volumes of global background music
Parameters:
volume
Volume. 100
is the normal volume. Value range: 0
–100
. Default value: 100
Platform not supported:
- web
Implementation
Future<void> setAllMusicVolume(int volume) {
return _channel.invokeMethod('setAllMusicVolume', {"volume": volume});
}