resolve

fun resolve(name: String, callback: (Boolean) -> Unit? = null): Boolean

Resolve a library by name.

This method attempts to load the library at the provided name, returning a boolean value indicating whether the library was loaded successfully.

The name of the library is expected to be in "naked" form; i.e., without system prefixing or extensions.

For example, to load the library sqlitejdbc, the name should be provided as sqlitejdbc, and the system will load libsqlitejbc.<so|dylib|dll> as appropriate.

Return

A boolean value indicating whether the library was loaded successfully.

Parameters

name

The name of the library to load.