Native

object Native

Functions

Link copied to clipboard
fun load(file: File)
fun load(javaClass: Class<*>, file: File)
fun load(javaClass: Class<*>, filename: String)
fun load(kClass: KClass<*>, file: File)

fun load(filename: String)

Load library by its absolute path

fun load(kClass: KClass<*>, filename: String)

Load library by its absolute path from a different classloader

Link copied to clipboard
fun loadLibrary(name: String)

Load library by its name

fun loadLibrary(javaClass: Class<*>, name: String)
fun loadLibrary(name: String, path: File)
fun loadLibrary(name: String, path: String)
fun loadLibrary(javaClass: Class<*>, name: String, path: File)
fun loadLibrary(javaClass: Class<*>, name: String, path: String)
fun loadLibrary(kClass: KClass<*>, name: String, path: File)
fun loadLibrary(kClass: KClass<*>, name: String, path: String)

fun loadLibrary(kClass: KClass<*>, name: String)

Load library by its name from a different classloader