setTime method

Future<int> setTime(
  1. int time
)

Sets the movie time (in ms), if any media is being played. time Time in ms. return the movie time (in ms), or -1 if there is no media.

Implementation

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