MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Loading...
Searching...
No Matches
mln_android_surface_replacement Struct Reference

#include <android.h>

Data Fields

uint32_t size
mln_logical_size logical_size
void * window
void * jni_env
void * surface

Detailed Description

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.

Field Documentation

◆ jni_env

void* mln_android_surface_replacement::jni_env

The calling thread's JNIEnv*, with surface.

◆ logical_size

mln_logical_size mln_android_surface_replacement::logical_size

◆ size

uint32_t mln_android_surface_replacement::size

◆ surface

void* mln_android_surface_replacement::surface

An android.view.Surface, with jni_env.

◆ window

void* mln_android_surface_replacement::window

Your ANativeWindow*, or null to name the window by surface.


The documentation for this struct was generated from the following file: