getPosition method

Future<double> getPosition()

Gets the movie position. return the movie position, or -1 for any error.

Implementation

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