setApplicationPlayVolume method

Future<int?> setApplicationPlayVolume(
  1. int volume
)

Set the volume of the current process in the Windows system volume mixer (supports only the Windows platform)

Parameters:

volume Volume. Value range: [0,100]

Returned value:

0: success

Implementation

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