getTime method

Future<int> getTime()

Gets the current movie time (in ms). return the movie time (in ms), or -1 if there is no media.

Implementation

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