|
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 |
An OpenHarmony window to present to, for mln_map_attach_ohos_surface().
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_descriptor::logical_size |
| uint32_t mln_ohos_surface_descriptor::size |
| uint64_t mln_ohos_surface_descriptor::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_descriptor::window |
Your OHNativeWindow*, or null to name the window by surface_id.