Table of Contents

Struct RuntimeEventHandler

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

An event callback, for RuntimeHandle.SetEventHandlerAsync().

public readonly record struct RuntimeEventHandler : IEquatable<RuntimeEventHandler>
Implements
Inherited Members

Remarks

See mln_runtime_event_handler in the C API reference.

Constructors

RuntimeEventHandler(RuntimeEventCallback)

[SetsRequiredMembers]
public RuntimeEventHandler(RuntimeEventCallback Callback)

Parameters

Callback RuntimeEventCallback

Properties

Callback

public required RuntimeEventCallback Callback { get; init; }

Property Value

RuntimeEventCallback