exportMethod
There are two methods to link external (or native in Java) methods to their native implementation:
Expose functions with names like Java_some_package_ClassName_methodName.
Use
RegisterNativeinside aJNI_OnLoad.
See details about it on JniExportMethod.ExposeFunctions and JniExportMethod.RegisterNatives.