TraceIncident

class TraceIncident(val id: IncidentId, val location: GeoCoordinates, val category: String, val validToTimestamp: Long, val trace: GeoPolyline) : Incident

Class representing general incident

Constructors

Link copied to clipboard
fun TraceIncident(id: IncidentId, location: GeoCoordinates, category: String, validToTimestamp: Long, trace: GeoPolyline)

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
open override val category: String

incident category

Link copied to clipboard
open override val id: IncidentId

incident identifier

Link copied to clipboard
open override val location: GeoCoordinates

incident location

Link copied to clipboard

list of coordinates heading towards incident location

Link copied to clipboard
open override val validToTimestamp: Long

validity UNIX timestamp