getSpuDelay method

Future<int?> getSpuDelay()

Returns the amount of subtitle time delay.

Implementation

Future<int?> getSpuDelay() async {
  _throwIfNotInitialized('getSpuDelay');
  var spuDelay = await vlcPlayerPlatform.getSpuDelay(_viewId);
  value = value.copyWith(spuDelay: spuDelay);
  return spuDelay;
}