preloadImmediately property

bool get preloadImmediately

Implementation

bool get preloadImmediately => _preloadImmediately;
set preloadImmediately (bool value)

Preload the next media set by setNext immediately or when current playback is finished.

Implementation

set preloadImmediately(bool value) {
  _preloadImmediately = value;
  _player.ref.setPreloadImmediately
          .asFunction<void Function(Pointer<mdkPlayer>, bool)>()(
      _player.ref.object, value);
}