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

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.