SourceDataLoadedEventData

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

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

Constructors

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

Properties

begin
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.
end
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.
id
Link copied to clipboard
@SerializedName(value = id)
val id: String
The 'id' property defines the source id.
loaded
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.
tileID
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'.
type
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.