SpeedCamera

class SpeedCamera(val id: IncidentId, val location: GeoCoordinates, val category: String, val validToTimestamp: Long, val heading: Float, val isBidirectional: Boolean, val speedLimit: Int) : OrientedIncident

Class representing speed camera incident

Constructors

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

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

speed camera category

Link copied to clipboard
open override val heading: Float

orientation of speed camera in degrees, 0.0 means north

Link copied to clipboard
open override val id: IncidentId

speed camera identifier

Link copied to clipboard
open override val isBidirectional: Boolean

true if speed camera is affecting both road directions, false otherwise

Link copied to clipboard
open override val location: GeoCoordinates

speed camera location

Link copied to clipboard

speed limit in km/h

Link copied to clipboard
open override val validToTimestamp: Long

validity UNIX timestamp