MapLoadingErrorEventData

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

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

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

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?
message
Link copied to clipboard

The descriptive error message of the error.

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

In case of source or tile loading errors, source-id will contain the id of the source failing.

@SerializedName(value = "source-id")
val sourceId: String?
tileId
Link copied to clipboard

In case of tile loading errors, tile-id will contain the id of the tile.

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

Defines what resource could not be loaded.

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