nativeEnsureInitialized function

void nativeEnsureInitialized({
  1. String? libmpv,
})

Initializes the native backend for package:media_kit.

Implementation

void nativeEnsureInitialized({String? libmpv}) {
  AndroidHelper.ensureInitialized();
  NativeLibrary.ensureInitialized(libmpv: libmpv);
  InitializerNativeEventLoop.ensureInitialized();
}