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]

Return:

0: success

Implementation

Future<int?> setApplicationPlayVolume(int volume
    ) async {
  var result = _channel.invokeMethod('setApplicationPlayVolume', {
    "volume": volume
  });
  return V2TXLiveFlutterResult.intValue(result);
}