TileStoreObserverNative(androidJvm)

Observer for getting notified about changes to TileRegions.

class TileStoreObserverNative(androidJvm) : TileStoreObserver

Constructors

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

Functions

onRegionGeometryChanged
Link copied to clipboard

Called when the geometry of a TileRegion was modified.

open fun onRegionGeometryChanged(id: String, geometry: Geometry)
onRegionLoadFinished
Link copied to clipboard

Called once a TileRegion load completes successfully, or is aborted due to cancellation or errors.

open fun onRegionLoadFinished(id: String, region: Expected<TileRegionError, TileRegion>)
onRegionLoadProgress
Link copied to clipboard

Called whenever the load progress of a TileRegion changes.

open fun onRegionLoadProgress(id: String, progress: TileRegionLoadProgress)
onRegionMetadataChanged
Link copied to clipboard

Called when the user-provided metadata associated with a TileRegion was changed.

open fun onRegionMetadataChanged(id: String, value: Value)
onRegionRemoved
Link copied to clipboard

Called when a TileRegion was removed.

open fun onRegionRemoved(id: String)