Package-level declarations

Types

Link copied to clipboard
fun interface OnFpsChangedListener

Interface definition for a callback to be invoked when a frame is rendered to the map view. Important note: onFpsChanged is called on non-UI thread.

Link copied to clipboard
class RendererError(val eglErrorCode: Int)

Typed enum wrapping up all the EGL error codes represented as ints. We do have SDK specific error types: NO_VALID_EGL_CONFIG_FOUND and OUT_OF_MEMORY.

Link copied to clipboard

Callback used to get notified when issues occur during renderer preparation. Note that callback will be delivered on main thread.

Link copied to clipboard

Denotes that the annotated method should only be called on a Mapbox render thread. If the annotated element is a class, then all methods in the class should be called on a Mapbox render thread.