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?)

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
@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.