MapLoadingErrorEventData

data class MapLoadingErrorEventData(begin: Long, end: Long?, type: MapLoadErrorType, message: String, sourceId: String?, tileId: TileID?)

The data class for map-loading-error event data in Observer

Constructors

MapLoadingErrorEventData
Link copied to clipboard
fun MapLoadingErrorEventData(begin: Long, end: Long?, type: MapLoadErrorType, message: String, sourceId: String?, 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(): MapLoadErrorType
component4
Link copied to clipboard
operator fun component4(): String
component5
Link copied to clipboard
operator fun component5(): String?
component6
Link copied to clipboard
operator fun component6(): TileID?
copy
Link copied to clipboard
fun copy(begin: Long, end: Long?, type: MapLoadErrorType, message: String, sourceId: String?, tileId: TileID?): MapLoadingErrorEventData
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.
message
Link copied to clipboard
@SerializedName(value = "message")
val message: String
The descriptive error message of the error.
sourceId
Link copied to clipboard
@SerializedName(value = "source-id")
val sourceId: String?
In case of source or tile loading errors, source-id will contain the id of the source failing.
tileId
Link copied to clipboard
@SerializedName(value = "tile-id")
val tileId: TileID?
In case of tile loading errors, tile-id will contain the id of the tile.
type
Link copied to clipboard
@SerializedName(value = "type")
val type: MapLoadErrorType
Defines what resource could not be loaded.