MapLoadingErrorEventData

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

Deprecated

This data class is deprecated, and will be removed in next major release.

Replace with

MapLoadingError

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

Constructors

Link copied to clipboard
fun MapLoadingErrorEventData(begin: Long, end: Long?, type: MapLoadErrorType, message: String, sourceId: String?, tileId: TileID?)

Properties

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.

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.

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

The descriptive error message of the error.

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.

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.

Link copied to clipboard
@SerializedName(value = "type")
val type: MapLoadErrorType

Defines what resource could not be loaded.