setVolume method

Future<int> setVolume(
  1. int volume
)

Sets volume as integer volume Volume level passed as integer

Implementation

Future<int> setVolume(int volume) async {
  await _ensureInitialized();
  if(_isNeedDisposed) return -1;
  return await _vlcApi.setVolume(volume,_textureId);
}