@maplibre/native-ffi
    Preparing search index...

    Interface OhosSurfaceDescriptor

    An OpenHarmony window to present to, for MapHandle.attachOhosSurface().

    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.

    See mln_ohos_surface_descriptor in the C API reference.

    interface OhosSurfaceDescriptor {
        logicalSize: LogicalSize;
        surfaceId?: bigint;
        window?: bigint;
    }
    Index
    logicalSize: LogicalSize
    surfaceId?: bigint

    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?: bigint

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