DataSourceEvents

DataSourceEvents.kt

Created by Jason Suto on 01/09/24. Based on the IOS version. IOS version uses structs instead of classes and objects

Types

Link copied to clipboard
object DataChange : Event

Triggered when the data source data has changed.

Link copied to clipboard
class LoadComplete(val sourceID: String? = null) : Event

Triggered when a source has completed loading all tiles.

Link copied to clipboard
class LoadStart(val sourceID: String? = null) : Event

Triggered when a source begins loading tiles.

Link copied to clipboard

Triggered when the data source metadata has failed to load.

Link copied to clipboard

Triggered when the data source data layout information has changed.

Link copied to clipboard

Triggered when the data source metadata has loaded.

Link copied to clipboard
Link copied to clipboard
class TileAdd(val tile: TileProtocol<DataType>? = null) : Event

Triggered when a tile is added to the cache.

Link copied to clipboard
class TileDiscard(val id: String = "tile:discard", val tile: TileProtocol<DataType>? = null, sourceID: String? = id) : Event

Triggered when a tile is discarded by the source.

Link copied to clipboard
class TileError(val id: String = "tile:error", val sourceID: String? = null, val tile: TileProtocol<DataType>? = null, val error: Error? = null) : Event

Triggered when a tile failed to load.

Link copied to clipboard
class TileLoad(val sourceID: String = "tile:load", val tile: TileProtocol<DataType>? = null, pending: Int? = null) : Event

Triggered when a tile has been loaded.

Link copied to clipboard
class TileLoadComplete(val id: String = "tile:load:complete", val tile: TileProtocol<DataType>? = null) : Event

Triggered when a tile request has completed.

Link copied to clipboard
class TileLoadStart(val sourceID: String? = null, val tile: TileType? = null) : Event

Triggered when a tile request has started.

Link copied to clipboard
object TileRemove : Event

Triggered when a tile is removed from the cache.

Link copied to clipboard

Triggered when a tile is requested by the source.