SourceDataLoadedEventData

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

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

Constructors

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

Functions

component1
Link copied to clipboard
operator fun component1(): Long
component2
Link copied to clipboard
operator fun component2(): Long?
component3
Link copied to clipboard
operator fun component3(): String
component4
Link copied to clipboard
operator fun component4(): SourceDataType
component5
Link copied to clipboard
operator fun component5(): Boolean?
component6
Link copied to clipboard
operator fun component6(): TileID?
copy
Link copied to clipboard
fun copy(begin: Long, end: Long?, id: String, type: SourceDataType, loaded: Boolean?, tileID: TileID?): SourceDataLoadedEventData
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

begin
Link copied to clipboard

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

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

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

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

The 'id' property defines the source id.

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

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

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

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

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

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

@SerializedName(value = "type")
val type: SourceDataType