LibraryLoader

Types

Link copied to clipboard

Functions

Link copied to clipboard
fun loadLibrary(context: Context, name: String)

Load a native library synchronously on the current thread.

Load a native library asynchronously, and notify via a listener. The actual library loading is done on the main thread to avoid crashes due to page alignment issues in background threads.