getScale method

Future<double> getScale()

Get the current video scaling factor

return the currently configured zoom factor, or 0. if the video is set to fit to the output window/drawable automatically.

Implementation

Future<double> getScale()async{
  await _ensureInitialized();
  if(_isNeedDisposed) return -1;
  return await _vlcApi.getScale(_textureId);
}