takeSnapshot method

Future<Uint8List> takeSnapshot()

Returns binary data for a snapshot of the media at the current frame.

Implementation

Future<Uint8List> takeSnapshot() async {
  _throwIfNotInitialized('takeSnapshot');
  return await vlcPlayerPlatform.takeSnapshot(_viewId);
}