|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <android.h>
Data Fields | |
| uint32_t | size |
| mln_logical_size | logical_size |
| void * | window |
| void * | jni_env |
| void * | surface |
An Android window to present to, for mln_map_attach_android_surface().
Name the window by window, or by jni_env and surface. The session takes its own reference to the window, so you can release yours once the call returns.
| void* mln_android_surface_descriptor::jni_env |
The calling thread's JNIEnv*, with surface.
| mln_logical_size mln_android_surface_descriptor::logical_size |
| uint32_t mln_android_surface_descriptor::size |
| void* mln_android_surface_descriptor::surface |
An android.view.Surface, with jni_env.
| void* mln_android_surface_descriptor::window |
Your ANativeWindow*, or null to name the window by surface.