![]() One more important thing here: you have to carefully set Proguard rules for such a JVM class. Rule of thumb: a dependant library has to be loaded after all its dependencies. Note that the order of libraries to load is important, at least for Android API 16 and 17. That call binds external methods to their implementations in C at runtime. In the companion object we have a list of shared libraries to import with System.loadLibrary(). The nativePointer property is actually an address of a C struct, casted to the Long type. ![]() ![]() The actual implementation resides in the C part. Several methods and properties are marked with external.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |