MapClientNative(androidJvm)

Interface for the MapClient.

class MapClientNative(androidJvm) : MapClient

Constructors

MapClientNative
Link copied to clipboard
open fun MapClientNative(peer: Long)

Functions

scheduleRepaint
Link copied to clipboard

A callback that notifies the client that the map contains updated information, and thus requires a new render to be scheduled. Note: this callback might be invoked from different threads and it blocks rendering, so clients shall avoid performing any extra operations in this callback.

open fun scheduleRepaint()
scheduleTask
Link copied to clipboard

Requests client to schedule task to be executed on client's scheduling system. Note: Implementation of this method is required when client uses dedicated rendering thread other then the thread where Map instance is constructed. Note: Client must clean the pending tasks from the task queue after the renderer is destroyed.

open fun scheduleTask(task: Task)