|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <ohos.h>
Data Fields | |
| uint32_t | size |
| mln_logical_size | logical_size |
| void * | window |
| uint64_t | surface_id |
A new OpenHarmony window for mln_render_session_set_ohos_surface_target().
Name the window by window or by surface_id. The session takes its own reference to the window, so you can release yours once the call returns.
| mln_logical_size mln_ohos_surface_replacement::logical_size |
| uint32_t mln_ohos_surface_replacement::size |
| uint64_t mln_ohos_surface_replacement::surface_id |
The surface ID of a surface in this process, such as the one that XComponentController.getXComponentSurfaceId() reports, or 0 to name the window by window.
| void* mln_ohos_surface_replacement::window |
Your OHNativeWindow*, or null to name the window by surface_id.