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

#include <ohos.h>

Data Fields

uint32_t size
mln_logical_size logical_size
void * window
uint64_t surface_id

Detailed Description

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.

Field Documentation

◆ logical_size

mln_logical_size mln_ohos_surface_replacement::logical_size

◆ size

uint32_t mln_ohos_surface_replacement::size

◆ surface_id

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.

◆ window

void* mln_ohos_surface_replacement::window

Your OHNativeWindow*, or null to name the window by surface_id.


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