|
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 |
A new Android window for mln_render_session_set_android_surface_target().
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_replacement::jni_env |
The calling thread's JNIEnv*, with surface.
| mln_logical_size mln_android_surface_replacement::logical_size |
| uint32_t mln_android_surface_replacement::size |
| void* mln_android_surface_replacement::surface |
An android.view.Surface, with jni_env.
| void* mln_android_surface_replacement::window |
Your ANativeWindow*, or null to name the window by surface.