SourceDataLoadedEventData

data class SourceDataLoadedEventData(val begin: Long, val end: Long?, val id: String, val type: SourceDataType, val loaded: Boolean?, val tileID: TileID?)

Deprecated

This data class is deprecated, and will be removed in next major release.

Replace with

SourceDataLoaded

The data class for source-data-loaded event data in Observer

Constructors

Link copied to clipboard
fun SourceDataLoadedEventData(begin: Long, end: Long?, id: String, type: SourceDataType, loaded: Boolean?, tileID: TileID?)

Properties

Link copied to clipboard
@SerializedName(value = "begin")
val begin: Long

Representing timestamp taken at the time of an event creation, in microseconds, since the epoch.

Link copied to clipboard
@SerializedName(value = "end")
val end: Long?

For an interval events, an optional end property will be present that represents timestamp taken at the time of an event completion.

Link copied to clipboard
@SerializedName(value = "id")
val id: String

The 'id' property defines the source id.

Link copied to clipboard
@SerializedName(value = "loaded")
val loaded: Boolean?

The 'loaded' property will be set to 'true' if all source's data required for Map's visible viewport, are loaded.

Link copied to clipboard
@SerializedName(value = "tile-id")
val tileID: TileID?

The 'tile-id' property defines the tile id if the 'type' field equals 'tile'.

Link copied to clipboard
@SerializedName(value = "type")
val type: SourceDataType

The 'type' property defines if source's metadata (e.g., TileJSON) or tile has been loaded.