Struct

MaplibreNativeFfiRuntimeEvent

Description [src]

struct MaplibreNativeFfiRuntimeEvent {
  /* No available fields */
}

An event that a runtime or one of its maps raised.

See mln_runtime_event in the C API reference.

Constructors

maplibre_native_ffi_runtime_event_new

Creates a MaplibreNativeFfiRuntimeEvent whose members are zero or empty.

Instance methods

maplibre_native_ffi_runtime_event_get_generation

For a map event, a map snapshot with this generation or a later one includes what the event reports. Zero for a runtime event.

maplibre_native_ffi_runtime_event_get_message

The error’s text for an event that reports a failure, or empty.

maplibre_native_ffi_runtime_event_get_source

The runtime or map that raised the event, as source_type says.