public abstract class LibraryLoader
extends java.lang.Object
By default uses System.loadLibrary
use setLibraryLoader(LibraryLoader)
to provide an alternative library loading hook.
Constructor | Description |
---|---|
LibraryLoader() |
Modifier and Type | Method | Description |
---|---|---|
static void |
load() |
Loads "libmapbox-gl.so" native shared library.
|
abstract void |
load(java.lang.String name) |
|
static void |
setLibraryLoader(LibraryLoader libraryLoader) |
Set the library loader that loads the shared library.
|
public static void setLibraryLoader(LibraryLoader libraryLoader)
libraryLoader
- the library loaderpublic static void load()
Catches UnsatisfiedLinkErrors and prints a warning to logcat.
public abstract void load(java.lang.String name)