public interface NativeLoaderDelegate
| Modifier and Type | Field and Description |
|---|---|
static int |
SKIP_MERGED_JNI_ONLOAD
Skip calling JNI_OnLoad if the library is merged.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLibraryPath(java.lang.String libName) |
int |
getSoSourcesVersion() |
boolean |
loadLibrary(java.lang.String shortName,
int flags) |
static final int SKIP_MERGED_JNI_ONLOAD
boolean loadLibrary(java.lang.String shortName,
int flags)
shortName - Name of library to find, without "lib" prefix or ".so" suffixflags - 0 for default behavior, otherwise NativeLoaderDelegate defines other behaviors.NativeLoader.loadLibrary(String, int)java.lang.String getLibraryPath(java.lang.String libName)
throws java.io.IOException
libName - Name of library to find, without "lib" prefix or ".so" suffixjava.io.IOException - IOExceptionNativeLoader.getLibraryPath(String)int getSoSourcesVersion()
NativeLoader.getSoSourcesVersion()