OrientedIncident

open class OrientedIncident(val id: IncidentId, val location: GeoCoordinates, val category: String, val validToTimestamp: Long, val heading: Float, val isBidirectional: Boolean) : Incident

Class representing incident with specified orientation

Constructors

Link copied to clipboard
fun OrientedIncident(id: IncidentId, location: GeoCoordinates, category: String, validToTimestamp: Long, heading: Float, isBidirectional: Boolean)

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 val heading: Float

orientation of incident in degrees, 0.0 means north

Link copied to clipboard
open override val id: IncidentId

incident identifier

Link copied to clipboard

true if incident is affecting both road directions, false otherwise

Link copied to clipboard
open override val location: GeoCoordinates

incident location

Link copied to clipboard
open override val validToTimestamp: Long

validity UNIX timestamp

Inheritors

Link copied to clipboard